You are here

public function Decorator::__construct in Devel 8

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Decorator.php \Drupal\webprofiler\Decorator::__construct()
  2. 8.2 webprofiler/src/Decorator.php \Drupal\webprofiler\Decorator::__construct()
  3. 4.x webprofiler/src/Decorator.php \Drupal\webprofiler\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;
}