Definition::getMethodCalls()

array getMethodCalls() Gets the methods to call after service initialization. Return Value array An array of method calls

Definition::getFile()

string|null getFile() Gets the file to require before creating the service. Return Value string|null The full pathname to include

Definition::getFactory()

string|array getFactory() Gets the factory. Return Value string|array The PHP function or an array containing a class/Reference and a method to call

Definition::getDeprecationMessage()

string getDeprecationMessage(string $id) Message to use if this definition is deprecated. Parameters string $id Service id relying on this definition Return Value string

Definition::getDecoratedService()

null|array getDecoratedService() Gets the service that decorates this service. Return Value null|array An array composed of the decorated service id, the new id for it and the priority of decoration, null if no service is decorated

Definition::getConfigurator()

callable|null getConfigurator() Gets the configurator to call after the service is fully initialized. Return Value callable|null The PHP callable to call

Definition::getClass()

string|null getClass() Gets the service class. Return Value string|null The service class

Definition::getAutowiringTypes()

string[] getAutowiringTypes() Gets autowiring types that will default to this definition. Return Value string[]

Definition::getArguments()

array getArguments() Gets the arguments to pass to the service constructor/factory method. Return Value array The array of arguments

Definition::getArgument()

mixed getArgument(int $index) Gets an argument to pass to the service constructor/factory method. Parameters int $index Return Value mixed The argument value Exceptions OutOfBoundsException When the argument does not exist