You are here

class EntityDecorator in Devel 8

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Entity/EntityDecorator.php \Drupal\webprofiler\Entity\EntityDecorator
  2. 8.2 webprofiler/src/Entity/EntityDecorator.php \Drupal\webprofiler\Entity\EntityDecorator
  3. 4.x 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