Definition

Definition

class Definition

Definition represents a service definition.

Methods

__construct(string|null $class = null, array $arguments = array())
$this setFactory(string|array $factory)

Sets a factory.

string|array getFactory()

Gets the factory.

$this setDecoratedService(null|string $id, null|string $renamedId = null, int $priority)

Sets the service that this service is decorating.

null|array getDecoratedService()

Gets the service that this service is decorating.

登录查看完整内容