class AbstractServiceConfigurator extends AbstractConfigurator
FACTORY |
__call($method, $args) | from AbstractConfigurator | |
static mixed | processValue(mixed $value, bool $allowServices = false) Checks that a value is valid, optionally replacing Definition and Reference configurators by their configure value. | from AbstractConfigurator |
__construct(ServicesConfigurator $parent, Definition $definition, string $id = null, array $defaultTags = array()) | ||
__destruct() | ||
set(string $id, string $class = null) Registers a service. | ||
alias(string $id, string $referencedId) Creates an alias. | ||
load(string $namespace, string $resource) Registers a PSR-4 namespace using a glob pattern. | ||
get(string $id) Gets an already defined service definition. | ||
__invoke(string $id, string $class = null) Registers a service. |
$method | ||
$args |
Checks that a value is valid, optionally replacing Definition and Reference configurators by their configure value.
mixed | $value | |
bool | $allowServices | whether Definition and Reference are allowed; by default, only scalars and arrays are |
mixed | the value, optionally cast to a Definition/Reference |
ServicesConfigurator | $parent | |
Definition | $definition | |
string | $id | |
array | $defaultTags |
Registers a service.
string | $id | |
string | $class |
Creates an alias.
string | $id | |
string | $referencedId |
Registers a PSR-4 namespace using a glob pattern.
string | $namespace | |
string | $resource |
Gets an already defined service definition.
string | $id |
ServiceNotFoundException | if the service definition does not exist |
Registers a service.
string | $id | |
string | $class |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/DependencyInjection/Loader/Configurator/AbstractServiceConfigurator.html