Copied!
CloneableInstantiable
Constants
public Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator::FACTORY = 'unknown'
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(string $id)
public Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator::__sleep() : array
public __toString() : string
public Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator::__wakeup() : void
public final ignoreOnInvalid() : static
 
  • return $this
public final ignoreOnUninitialized() : static
 
  • return $this
public final nullOnInvalid() : static
 
  • return $this
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
Properties
protected Symfony\Component\DependencyInjection\Definition|Symfony\Component\DependencyInjection\Alias|?null Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator::$definition = NULL
 
  • internal
protected string $id
 
  • internal
protected int $invalidBehavior = 1
 
  • internal
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