Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Definition.php

function Definition::getDecoratedService

Gets the service that this service is decorating.

Return value

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

File

vendor/symfony/dependency-injection/Definition.php, line 162

Class

Definition
Definition represents a service definition.

Namespace

Symfony\Component\DependencyInjection

Code

public function getDecoratedService() : ?array {
    return $this->decoratedService;
}
RSS feed
Powered by Drupal