You are here

public function EntityPagerAnalyzer::__construct in Entity Pager 8

Same name and namespace in other branches
  1. 2.0.x src/EntityPagerAnalyzer.php \Drupal\entity_pager\EntityPagerAnalyzer::__construct()

Constructs a new EntityPagerAnalyzer object.

Parameters

\Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher: The event dispatcher.

File

src/EntityPagerAnalyzer.php, line 27

Class

EntityPagerAnalyzer
A class for analyzing an entity pager and providing feedback.

Namespace

Drupal\entity_pager

Code

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