You are here

public function AssetMetadataHelper::__construct in Media: Acquia DAM 8

AssetImageHelper constructor.

Parameters

\Drupal\Core\Datetime\DateFormatterInterface $dateFormatter: A Drupal date formatter service.

\Drupal\media_acquiadam\AcquiadamInterface|\Drupal\media_acquiadam\Client $acquiadam: A configured API object.

File

src/Service/AssetMetadataHelper.php, line 51

Class

AssetMetadataHelper
Class AssetMetadataHelper.

Namespace

Drupal\media_acquiadam\Service

Code

public function __construct(DateFormatterInterface $dateFormatter, AcquiadamInterface $acquiadam) {
  $this->dateFormatter = $dateFormatter;
  $this->acquiadam = $acquiadam;
}