Initial Base
This commit is contained in:
144
var/cache/dev/Symfony/Config/TwigExtra/Commonmark/CommonmarkConfig.php
vendored
Normal file
144
var/cache/dev/Symfony/Config/TwigExtra/Commonmark/CommonmarkConfig.php
vendored
Normal file
@@ -0,0 +1,144 @@
|
||||
<?php
|
||||
|
||||
namespace Symfony\Config\TwigExtra\Commonmark;
|
||||
|
||||
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 CommonmarkConfig
|
||||
{
|
||||
private $enableEm;
|
||||
private $enableStrong;
|
||||
private $useAsterisk;
|
||||
private $useUnderscore;
|
||||
private $unorderedListMarkers;
|
||||
private $_usedProperties = [];
|
||||
|
||||
/**
|
||||
* @default true
|
||||
* @param ParamConfigurator|bool $value
|
||||
* @return $this
|
||||
*/
|
||||
public function enableEm($value): static
|
||||
{
|
||||
$this->_usedProperties['enableEm'] = true;
|
||||
$this->enableEm = $value;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @default true
|
||||
* @param ParamConfigurator|bool $value
|
||||
* @return $this
|
||||
*/
|
||||
public function enableStrong($value): static
|
||||
{
|
||||
$this->_usedProperties['enableStrong'] = true;
|
||||
$this->enableStrong = $value;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @default true
|
||||
* @param ParamConfigurator|bool $value
|
||||
* @return $this
|
||||
*/
|
||||
public function useAsterisk($value): static
|
||||
{
|
||||
$this->_usedProperties['useAsterisk'] = true;
|
||||
$this->useAsterisk = $value;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @default true
|
||||
* @param ParamConfigurator|bool $value
|
||||
* @return $this
|
||||
*/
|
||||
public function useUnderscore($value): static
|
||||
{
|
||||
$this->_usedProperties['useUnderscore'] = true;
|
||||
$this->useUnderscore = $value;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ParamConfigurator|list<ParamConfigurator|mixed> $value
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function unorderedListMarkers(ParamConfigurator|array $value): static
|
||||
{
|
||||
$this->_usedProperties['unorderedListMarkers'] = true;
|
||||
$this->unorderedListMarkers = $value;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function __construct(array $value = [])
|
||||
{
|
||||
if (array_key_exists('enable_em', $value)) {
|
||||
$this->_usedProperties['enableEm'] = true;
|
||||
$this->enableEm = $value['enable_em'];
|
||||
unset($value['enable_em']);
|
||||
}
|
||||
|
||||
if (array_key_exists('enable_strong', $value)) {
|
||||
$this->_usedProperties['enableStrong'] = true;
|
||||
$this->enableStrong = $value['enable_strong'];
|
||||
unset($value['enable_strong']);
|
||||
}
|
||||
|
||||
if (array_key_exists('use_asterisk', $value)) {
|
||||
$this->_usedProperties['useAsterisk'] = true;
|
||||
$this->useAsterisk = $value['use_asterisk'];
|
||||
unset($value['use_asterisk']);
|
||||
}
|
||||
|
||||
if (array_key_exists('use_underscore', $value)) {
|
||||
$this->_usedProperties['useUnderscore'] = true;
|
||||
$this->useUnderscore = $value['use_underscore'];
|
||||
unset($value['use_underscore']);
|
||||
}
|
||||
|
||||
if (array_key_exists('unordered_list_markers', $value)) {
|
||||
$this->_usedProperties['unorderedListMarkers'] = true;
|
||||
$this->unorderedListMarkers = $value['unordered_list_markers'];
|
||||
unset($value['unordered_list_markers']);
|
||||
}
|
||||
|
||||
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['enableEm'])) {
|
||||
$output['enable_em'] = $this->enableEm;
|
||||
}
|
||||
if (isset($this->_usedProperties['enableStrong'])) {
|
||||
$output['enable_strong'] = $this->enableStrong;
|
||||
}
|
||||
if (isset($this->_usedProperties['useAsterisk'])) {
|
||||
$output['use_asterisk'] = $this->useAsterisk;
|
||||
}
|
||||
if (isset($this->_usedProperties['useUnderscore'])) {
|
||||
$output['use_underscore'] = $this->useUnderscore;
|
||||
}
|
||||
if (isset($this->_usedProperties['unorderedListMarkers'])) {
|
||||
$output['unordered_list_markers'] = $this->unorderedListMarkers;
|
||||
}
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
}
|
||||
98
var/cache/dev/Symfony/Config/TwigExtra/Commonmark/RendererConfig.php
vendored
Normal file
98
var/cache/dev/Symfony/Config/TwigExtra/Commonmark/RendererConfig.php
vendored
Normal file
@@ -0,0 +1,98 @@
|
||||
<?php
|
||||
|
||||
namespace Symfony\Config\TwigExtra\Commonmark;
|
||||
|
||||
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 RendererConfig
|
||||
{
|
||||
private $blockSeparator;
|
||||
private $innerSeparator;
|
||||
private $softBreak;
|
||||
private $_usedProperties = [];
|
||||
|
||||
/**
|
||||
* @default null
|
||||
* @param ParamConfigurator|mixed $value
|
||||
* @return $this
|
||||
*/
|
||||
public function blockSeparator($value): static
|
||||
{
|
||||
$this->_usedProperties['blockSeparator'] = true;
|
||||
$this->blockSeparator = $value;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @default null
|
||||
* @param ParamConfigurator|mixed $value
|
||||
* @return $this
|
||||
*/
|
||||
public function innerSeparator($value): static
|
||||
{
|
||||
$this->_usedProperties['innerSeparator'] = true;
|
||||
$this->innerSeparator = $value;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @default null
|
||||
* @param ParamConfigurator|mixed $value
|
||||
* @return $this
|
||||
*/
|
||||
public function softBreak($value): static
|
||||
{
|
||||
$this->_usedProperties['softBreak'] = true;
|
||||
$this->softBreak = $value;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function __construct(array $value = [])
|
||||
{
|
||||
if (array_key_exists('block_separator', $value)) {
|
||||
$this->_usedProperties['blockSeparator'] = true;
|
||||
$this->blockSeparator = $value['block_separator'];
|
||||
unset($value['block_separator']);
|
||||
}
|
||||
|
||||
if (array_key_exists('inner_separator', $value)) {
|
||||
$this->_usedProperties['innerSeparator'] = true;
|
||||
$this->innerSeparator = $value['inner_separator'];
|
||||
unset($value['inner_separator']);
|
||||
}
|
||||
|
||||
if (array_key_exists('soft_break', $value)) {
|
||||
$this->_usedProperties['softBreak'] = true;
|
||||
$this->softBreak = $value['soft_break'];
|
||||
unset($value['soft_break']);
|
||||
}
|
||||
|
||||
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['blockSeparator'])) {
|
||||
$output['block_separator'] = $this->blockSeparator;
|
||||
}
|
||||
if (isset($this->_usedProperties['innerSeparator'])) {
|
||||
$output['inner_separator'] = $this->innerSeparator;
|
||||
}
|
||||
if (isset($this->_usedProperties['softBreak'])) {
|
||||
$output['soft_break'] = $this->softBreak;
|
||||
}
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
}
|
||||
100
var/cache/dev/Symfony/Config/TwigExtra/Commonmark/SlugNormalizerConfig.php
vendored
Normal file
100
var/cache/dev/Symfony/Config/TwigExtra/Commonmark/SlugNormalizerConfig.php
vendored
Normal file
@@ -0,0 +1,100 @@
|
||||
<?php
|
||||
|
||||
namespace Symfony\Config\TwigExtra\Commonmark;
|
||||
|
||||
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 SlugNormalizerConfig
|
||||
{
|
||||
private $instance;
|
||||
private $maxLength;
|
||||
private $unique;
|
||||
private $_usedProperties = [];
|
||||
|
||||
/**
|
||||
* @default null
|
||||
* @param ParamConfigurator|mixed $value
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function instance(mixed $value): static
|
||||
{
|
||||
$this->_usedProperties['instance'] = true;
|
||||
$this->instance = $value;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @default 255
|
||||
* @param ParamConfigurator|int $value
|
||||
* @return $this
|
||||
*/
|
||||
public function maxLength($value): static
|
||||
{
|
||||
$this->_usedProperties['maxLength'] = true;
|
||||
$this->maxLength = $value;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @default null
|
||||
* @param ParamConfigurator|mixed $value
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function unique(mixed $value): static
|
||||
{
|
||||
$this->_usedProperties['unique'] = true;
|
||||
$this->unique = $value;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function __construct(array $value = [])
|
||||
{
|
||||
if (array_key_exists('instance', $value)) {
|
||||
$this->_usedProperties['instance'] = true;
|
||||
$this->instance = $value['instance'];
|
||||
unset($value['instance']);
|
||||
}
|
||||
|
||||
if (array_key_exists('max_length', $value)) {
|
||||
$this->_usedProperties['maxLength'] = true;
|
||||
$this->maxLength = $value['max_length'];
|
||||
unset($value['max_length']);
|
||||
}
|
||||
|
||||
if (array_key_exists('unique', $value)) {
|
||||
$this->_usedProperties['unique'] = true;
|
||||
$this->unique = $value['unique'];
|
||||
unset($value['unique']);
|
||||
}
|
||||
|
||||
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['instance'])) {
|
||||
$output['instance'] = $this->instance;
|
||||
}
|
||||
if (isset($this->_usedProperties['maxLength'])) {
|
||||
$output['max_length'] = $this->maxLength;
|
||||
}
|
||||
if (isset($this->_usedProperties['unique'])) {
|
||||
$output['unique'] = $this->unique;
|
||||
}
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user