You are here

public function FeedsBatchBase::__construct in Feeds 8.3

Constructs a new FeedsBatchBase object.

Parameters

\Drupal\feeds\FeedsExecutableInterface $executable: The Feeds executable.

\Drupal\feeds\FeedInterface $feed: The feed to run a batch for.

string $stage: The stage of the batch to run.

1 call to FeedsBatchBase::__construct()
FeedsQueueBatch::__construct in src/FeedsQueueBatch.php
Constructs a new FeedsQueueBatch object.
1 method overrides FeedsBatchBase::__construct()
FeedsQueueBatch::__construct in src/FeedsQueueBatch.php
Constructs a new FeedsQueueBatch object.

File

src/FeedsBatchBase.php, line 48

Class

FeedsBatchBase
Base class for batched feeds tasks.

Namespace

Drupal\feeds

Code

public function __construct(FeedsExecutableInterface $executable, FeedInterface $feed, $stage) {
  $this->executable = $executable;
  $this->feed = $feed;
  $this->stage = $stage;
}