You are here

public function Decorator::__construct in Devel 4.x

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