mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-26 14:40:29 +01:00
28 lines
447 B
PHP
28 lines
447 B
PHP
<?php
|
|
|
|
namespace Xentral\Components\Exporter\Json;
|
|
|
|
final class JsonConfig
|
|
{
|
|
/** @var int $options */
|
|
private $options;
|
|
|
|
/**
|
|
* @see https://www.php.net/manual/en/json.constants.php
|
|
*
|
|
* @param int $options
|
|
*/
|
|
public function __construct($options = 0)
|
|
{
|
|
$this->options = $options;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getOptions()
|
|
{
|
|
return $this->options;
|
|
}
|
|
}
|