You are here

public function AMPTestLibrary::__construct in Accelerated Mobile Pages (AMP) 8

Same name and namespace in other branches
  1. 8.3 src/Controller/AMPTestLibrary.php \Drupal\amp\Controller\AMPTestLibrary::__construct()
  2. 8.2 src/Controller/AMPTestLibrary.php \Drupal\amp\Controller\AMPTestLibrary::__construct()

File

src/Controller/AMPTestLibrary.php, line 30
Contains \Drupal\amp\Controller\AMPTestLibrary.

Class

AMPTestLibrary
Class AMPTestLibrary.

Namespace

Drupal\amp\Controller

Code

public function __construct(AMPService $amp_utilities) {
  $this->amp = $amp_utilities
    ->createAMPConverter();
}