function Decorator::__construct

Class constructor.

Parameters

object $object: The object to decorate.

2 calls to Decorator::__construct()
ConfigEntityStorageDecorator::__construct in webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php
EntityViewBuilderDecorator::__construct in webprofiler/src/Entity/EntityViewBuilderDecorator.php
2 methods override Decorator::__construct()
ConfigEntityStorageDecorator::__construct in webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php
EntityViewBuilderDecorator::__construct in webprofiler/src/Entity/EntityViewBuilderDecorator.php

File

webprofiler/src/Decorator.php, line 21

Class

Decorator
Generic class Decorator.

Namespace

Drupal\webprofiler

Code

public function __construct($object) {
    $this->object = $object;
}