Definition::setAutowiringTypes()

Definition setAutowiringTypes(array $types) Sets types that will default to this definition. Parameters array $types Return Value Definition The current instance

Definition::setAutowired()

Definition setAutowired(bool $autowired) Sets autowired. Parameters bool $autowired Return Value Definition The current instance

Definition::setArguments()

Definition setArguments(array $arguments) Sets the arguments to pass to the service constructor/factory method. Parameters array $arguments An array of arguments Return Value Definition The current instance

Definition::setAbstract()

Definition setAbstract(bool $boolean) Whether this definition is abstract, that means it merely serves as a template for other definitions. Parameters bool $boolean Return Value Definition the current instance

Definition::replaceArgument()

Definition replaceArgument(int $index, mixed $argument) Sets a specific argument. Parameters int $index mixed $argument Return Value Definition The current instance Exceptions OutOfBoundsException When the replaced argument does not exist

Definition::removeMethodCall()

Definition removeMethodCall(string $method) Removes a method to call after service initialization. Parameters string $method The method name to remove Return Value Definition The current instance

Definition::removeAutowiringType()

Definition removeAutowiringType(string $type) Removes a type. Parameters string $type Return Value Definition The current instance

Definition::isSynthetic()

bool isSynthetic() Whether this definition is synthetic, that is not constructed by the container, but dynamically injected. Return Value bool

Definition::isShared()

bool isShared() Whether this service is shared. Return Value bool

Definition::isPublic()

bool isPublic() Whether this service is public facing. Return Value bool