initial commit

This commit is contained in:
boris
2025-09-30 09:24:25 +01:00
committed by boris
parent a783a12c97
commit c7770ea03b
4695 changed files with 525784 additions and 0 deletions

View File

@@ -0,0 +1,99 @@
<?php
namespace Symfony\Config\Twig;
use Symfony\Component\Config\Loader\ParamConfigurator;
use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
/**
* This class is automatically generated to help in creating a config.
*/
class DateConfig
{
private $format;
private $intervalFormat;
private $timezone;
private $_usedProperties = [];
/**
* @default 'F j, Y H:i'
* @param ParamConfigurator|mixed $value
* @return $this
*/
public function format($value): static
{
$this->_usedProperties['format'] = true;
$this->format = $value;
return $this;
}
/**
* @default '%d days'
* @param ParamConfigurator|mixed $value
* @return $this
*/
public function intervalFormat($value): static
{
$this->_usedProperties['intervalFormat'] = true;
$this->intervalFormat = $value;
return $this;
}
/**
* The timezone used when formatting dates, when set to null, the timezone returned by date_default_timezone_get() is used.
* @default null
* @param ParamConfigurator|mixed $value
* @return $this
*/
public function timezone($value): static
{
$this->_usedProperties['timezone'] = true;
$this->timezone = $value;
return $this;
}
public function __construct(array $value = [])
{
if (array_key_exists('format', $value)) {
$this->_usedProperties['format'] = true;
$this->format = $value['format'];
unset($value['format']);
}
if (array_key_exists('interval_format', $value)) {
$this->_usedProperties['intervalFormat'] = true;
$this->intervalFormat = $value['interval_format'];
unset($value['interval_format']);
}
if (array_key_exists('timezone', $value)) {
$this->_usedProperties['timezone'] = true;
$this->timezone = $value['timezone'];
unset($value['timezone']);
}
if ([] !== $value) {
throw new InvalidConfigurationException(sprintf('The following keys are not supported by "%s": ', __CLASS__).implode(', ', array_keys($value)));
}
}
public function toArray(): array
{
$output = [];
if (isset($this->_usedProperties['format'])) {
$output['format'] = $this->format;
}
if (isset($this->_usedProperties['intervalFormat'])) {
$output['interval_format'] = $this->intervalFormat;
}
if (isset($this->_usedProperties['timezone'])) {
$output['timezone'] = $this->timezone;
}
return $output;
}
}

View File

@@ -0,0 +1,99 @@
<?php
namespace Symfony\Config\Twig;
use Symfony\Component\Config\Loader\ParamConfigurator;
use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
/**
* This class is automatically generated to help in creating a config.
*/
class GlobalConfig
{
private $id;
private $type;
private $value;
private $_usedProperties = [];
/**
* @default null
* @param ParamConfigurator|mixed $value
* @return $this
*/
public function id($value): static
{
$this->_usedProperties['id'] = true;
$this->id = $value;
return $this;
}
/**
* @default null
* @param ParamConfigurator|mixed $value
* @return $this
*/
public function type($value): static
{
$this->_usedProperties['type'] = true;
$this->type = $value;
return $this;
}
/**
* @default null
* @param ParamConfigurator|mixed $value
*
* @return $this
*/
public function value(mixed $value): static
{
$this->_usedProperties['value'] = true;
$this->value = $value;
return $this;
}
public function __construct(array $value = [])
{
if (array_key_exists('id', $value)) {
$this->_usedProperties['id'] = true;
$this->id = $value['id'];
unset($value['id']);
}
if (array_key_exists('type', $value)) {
$this->_usedProperties['type'] = true;
$this->type = $value['type'];
unset($value['type']);
}
if (array_key_exists('value', $value)) {
$this->_usedProperties['value'] = true;
$this->value = $value['value'];
unset($value['value']);
}
if ([] !== $value) {
throw new InvalidConfigurationException(sprintf('The following keys are not supported by "%s": ', __CLASS__).implode(', ', array_keys($value)));
}
}
public function toArray(): array
{
$output = [];
if (isset($this->_usedProperties['id'])) {
$output['id'] = $this->id;
}
if (isset($this->_usedProperties['type'])) {
$output['type'] = $this->type;
}
if (isset($this->_usedProperties['value'])) {
$output['value'] = $this->value;
}
return $output;
}
}

View File

@@ -0,0 +1,53 @@
<?php
namespace Symfony\Config\Twig;
use Symfony\Component\Config\Loader\ParamConfigurator;
use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
/**
* This class is automatically generated to help in creating a config.
*/
class MailerConfig
{
private $htmlToTextConverter;
private $_usedProperties = [];
/**
* A service implementing the "Symfony\Component\Mime\HtmlToTextConverter\HtmlToTextConverterInterface".
* @default null
* @param ParamConfigurator|mixed $value
* @return $this
*/
public function htmlToTextConverter($value): static
{
$this->_usedProperties['htmlToTextConverter'] = true;
$this->htmlToTextConverter = $value;
return $this;
}
public function __construct(array $value = [])
{
if (array_key_exists('html_to_text_converter', $value)) {
$this->_usedProperties['htmlToTextConverter'] = true;
$this->htmlToTextConverter = $value['html_to_text_converter'];
unset($value['html_to_text_converter']);
}
if ([] !== $value) {
throw new InvalidConfigurationException(sprintf('The following keys are not supported by "%s": ', __CLASS__).implode(', ', array_keys($value)));
}
}
public function toArray(): array
{
$output = [];
if (isset($this->_usedProperties['htmlToTextConverter'])) {
$output['html_to_text_converter'] = $this->htmlToTextConverter;
}
return $output;
}
}

View File

@@ -0,0 +1,98 @@
<?php
namespace Symfony\Config\Twig;
use Symfony\Component\Config\Loader\ParamConfigurator;
use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
/**
* This class is automatically generated to help in creating a config.
*/
class NumberFormatConfig
{
private $decimals;
private $decimalPoint;
private $thousandsSeparator;
private $_usedProperties = [];
/**
* @default 0
* @param ParamConfigurator|int $value
* @return $this
*/
public function decimals($value): static
{
$this->_usedProperties['decimals'] = true;
$this->decimals = $value;
return $this;
}
/**
* @default '.'
* @param ParamConfigurator|mixed $value
* @return $this
*/
public function decimalPoint($value): static
{
$this->_usedProperties['decimalPoint'] = true;
$this->decimalPoint = $value;
return $this;
}
/**
* @default ','
* @param ParamConfigurator|mixed $value
* @return $this
*/
public function thousandsSeparator($value): static
{
$this->_usedProperties['thousandsSeparator'] = true;
$this->thousandsSeparator = $value;
return $this;
}
public function __construct(array $value = [])
{
if (array_key_exists('decimals', $value)) {
$this->_usedProperties['decimals'] = true;
$this->decimals = $value['decimals'];
unset($value['decimals']);
}
if (array_key_exists('decimal_point', $value)) {
$this->_usedProperties['decimalPoint'] = true;
$this->decimalPoint = $value['decimal_point'];
unset($value['decimal_point']);
}
if (array_key_exists('thousands_separator', $value)) {
$this->_usedProperties['thousandsSeparator'] = true;
$this->thousandsSeparator = $value['thousands_separator'];
unset($value['thousands_separator']);
}
if ([] !== $value) {
throw new InvalidConfigurationException(sprintf('The following keys are not supported by "%s": ', __CLASS__).implode(', ', array_keys($value)));
}
}
public function toArray(): array
{
$output = [];
if (isset($this->_usedProperties['decimals'])) {
$output['decimals'] = $this->decimals;
}
if (isset($this->_usedProperties['decimalPoint'])) {
$output['decimal_point'] = $this->decimalPoint;
}
if (isset($this->_usedProperties['thousandsSeparator'])) {
$output['thousands_separator'] = $this->thousandsSeparator;
}
return $output;
}
}