You are here

public function Definition::getDecoratedService in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Definition.php \Symfony\Component\DependencyInjection\Definition::getDecoratedService()

Gets the service that decorates this service.

Return value

null|array An array composed of the decorated service id and the new id for it, null if no service is decorated

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Definition.php, line 174

Class

Definition
Definition represents a service definition.

Namespace

Symfony\Component\DependencyInjection

Code

public function getDecoratedService() {
  return $this->decoratedService;
}