You are here

class EntityDecorator in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Entity/EntityDecorator.php \Drupal\webprofiler\Entity\EntityDecorator
  2. 8 webprofiler/src/Entity/EntityDecorator.php \Drupal\webprofiler\Entity\EntityDecorator
  3. 8.2 webprofiler/src/Entity/EntityDecorator.php \Drupal\webprofiler\Entity\EntityDecorator

Class EntityDecorator.

Hierarchy

Expanded class hierarchy of EntityDecorator

2 files declare their use of EntityDecorator
BlocksDataCollector.php in webprofiler/src/DataCollector/BlocksDataCollector.php
ConfigEntityStorageDecorator.php in webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php

File

webprofiler/src/Entity/EntityDecorator.php, line 10

Namespace

Drupal\webprofiler\Entity
View source
class EntityDecorator extends Decorator {

  /**
   * @var array
   */
  protected $entities;

  /**
   * @return mixed
   */
  public function getEntities() {
    return $this->entities;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Decorator::$object protected property @var
Decorator::getOriginalObject public function Return the original (i.e. non decorated) object.
Decorator::isCallable public function Returns true if $method is a PHP callable.
Decorator::__call public function
Decorator::__construct public function Class constructor. 2
Decorator::__get public function
EntityDecorator::$entities protected property
EntityDecorator::getEntities public function