You are here

public function FailedImportEvent::__construct in Acquia Content Hub 8.2

FailedImportEvent constructor.

Parameters

\Acquia\ContentHubClient\CDFDocument $cdf: The CDF Document being processed during failure.

\Drupal\depcalc\DependencyStack $stack: The dependency stack being populated during failure.

int $count: The count of items processed before failure.

\Drupal\acquia_contenthub\EntityCdfSerializer $serializer: The entity cdf serializer.

File

src/Event/FailedImportEvent.php, line 62

Class

FailedImportEvent
An event for responding to failed imports.

Namespace

Drupal\acquia_contenthub\Event

Code

public function __construct(CDFDocument $cdf, DependencyStack $stack, $count, EntityCdfSerializer $serializer) {
  $this->cdf = $cdf;
  $this->stack = $stack;
  $this->count = $count;
  $this->serializer = $serializer;
}