You are here

public function CacheflushApi::__construct in CacheFlush 8

CacheflushApi constructor.

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container: The Drupal container.

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.

File

src/Controller/CacheflushApi.php, line 40

Class

CacheflushApi
Returns responses for Cacheflush routes.

Namespace

Drupal\cacheflush\Controller

Code

public function __construct(ContainerInterface $container, MessengerInterface $messenger) {
  $this->container = $container;
  $this->messenger = $messenger;
}