Copied!
CloneableInstantiable
Constants
public Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator::FACTORY = 'container'
Properties
public static ?Closure Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator::$valuePreProcessor = NULL
 
  • var callable|null
Methods
public Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator::__call(string $method, array $args) : ?mixed
public __construct(Symfony\Component\DependencyInjection\ContainerBuilder $container, Symfony\Component\DependencyInjection\Loader\PhpFileLoader $loader, array $instanceof, string $path, string $file, ?string $env = NULL)
public Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator::__sleep() : array
public Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator::__wakeup() : void
public final env() : ?string
 

Get the current environment to be able to write conditional configuration.

public final extension(string $namespace, array $config, bool $prepend = false) : void
public final import(string $resource, ?string $type = NULL, string|bool $ignoreErrors = false) : void
public final parameters() : Symfony\Component\DependencyInjection\Loader\Configurator\ParametersConfigurator
public static Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator::processValue(?mixed $value, bool $allowServices = false) : ?mixed
 

Checks that a value is valid, optionally replacing Definition and Reference configurators by their configure value.

  • param bool $allowServices whether Definition and Reference are allowed; by default, only scalars, arrays and enum are
  • return mixed the value, optionally cast to a Definition/Reference
public final services() : Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator
public final withPath(string $path) : static
Properties
protected Symfony\Component\DependencyInjection\Definition|Symfony\Component\DependencyInjection\Alias|?null Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator::$definition = NULL
 
  • internal
Properties
private int $anonymousCount = 0
private Symfony\Component\DependencyInjection\ContainerBuilder $container
private ?string $env
private string $file
private array $instanceof
private Symfony\Component\DependencyInjection\Loader\PhpFileLoader $loader
private string $path
Properties
public static ?Closure Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator::$valuePreProcessor = NULL
 
  • var callable|null
Methods
public static Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator::processValue(?mixed $value, bool $allowServices = false) : ?mixed
 

Checks that a value is valid, optionally replacing Definition and Reference configurators by their configure value.

  • param bool $allowServices whether Definition and Reference are allowed; by default, only scalars, arrays and enum are
  • return mixed the value, optionally cast to a Definition/Reference
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration