HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/payments-gateway/var/cache/dev/Symfony/Config/MakerConfig.php
<?php

namespace Symfony\Config;

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 MakerConfig implements \Symfony\Component\Config\Builder\ConfigBuilderInterface
{
    private $rootNamespace;
    private $generateFinalClasses;
    private $generateFinalEntities;
    private $_usedProperties = [];

    /**
     * @default 'App'
     * @param ParamConfigurator|mixed $value
     * @return $this
     */
    public function rootNamespace($value): static
    {
        $this->_usedProperties['rootNamespace'] = true;
        $this->rootNamespace = $value;

        return $this;
    }

    /**
     * @default true
     * @param ParamConfigurator|bool $value
     * @return $this
     */
    public function generateFinalClasses($value): static
    {
        $this->_usedProperties['generateFinalClasses'] = true;
        $this->generateFinalClasses = $value;

        return $this;
    }

    /**
     * @default false
     * @param ParamConfigurator|bool $value
     * @return $this
     */
    public function generateFinalEntities($value): static
    {
        $this->_usedProperties['generateFinalEntities'] = true;
        $this->generateFinalEntities = $value;

        return $this;
    }

    public function getExtensionAlias(): string
    {
        return 'maker';
    }

    public function __construct(array $value = [])
    {
        if (array_key_exists('root_namespace', $value)) {
            $this->_usedProperties['rootNamespace'] = true;
            $this->rootNamespace = $value['root_namespace'];
            unset($value['root_namespace']);
        }

        if (array_key_exists('generate_final_classes', $value)) {
            $this->_usedProperties['generateFinalClasses'] = true;
            $this->generateFinalClasses = $value['generate_final_classes'];
            unset($value['generate_final_classes']);
        }

        if (array_key_exists('generate_final_entities', $value)) {
            $this->_usedProperties['generateFinalEntities'] = true;
            $this->generateFinalEntities = $value['generate_final_entities'];
            unset($value['generate_final_entities']);
        }

        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['rootNamespace'])) {
            $output['root_namespace'] = $this->rootNamespace;
        }
        if (isset($this->_usedProperties['generateFinalClasses'])) {
            $output['generate_final_classes'] = $this->generateFinalClasses;
        }
        if (isset($this->_usedProperties['generateFinalEntities'])) {
            $output['generate_final_entities'] = $this->generateFinalEntities;
        }

        return $output;
    }

}