You are here

class FetchEvent in Feeds 8.3

Fired to begin fetching.

Hierarchy

  • class \Drupal\feeds\Event\EventBase extends \Symfony\Component\EventDispatcher\Event

Expanded class hierarchy of FetchEvent

7 files declare their use of FetchEvent
FeedsExecutable.php in src/FeedsExecutable.php
FeedsExecutableTest.php in tests/src/Unit/FeedsExecutableTest.php
FeedsSubscriber.php in tests/modules/feeds_test_events/src/EventSubscriber/FeedsSubscriber.php
FetchEventTest.php in tests/src/Unit/Event/FetchEventTest.php
LazySubscriber.php in src/EventSubscriber/LazySubscriber.php

... See full list

File

src/Event/FetchEvent.php, line 10

Namespace

Drupal\feeds\Event
View source
class FetchEvent extends EventBase {

  /**
   * The fetcher result.
   *
   * @var \Drupal\feeds\Result\FetcherResultInterface
   */
  protected $fetcherResult;

  /**
   * Returns the fetcher result.
   *
   * @return \Drupal\feeds\Result\FetcherResultInterface
   *   The fetcher result.
   */
  public function getFetcherResult() {
    return $this->fetcherResult;
  }

  /**
   * Sets the fetcher result.
   *
   * @param \Drupal\feeds\Result\FetcherResultInterface $result
   *   The fetcher result.
   */
  public function setFetcherResult(FetcherResultInterface $result) {
    $this->fetcherResult = $result;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
EventBase::$feed protected property The feed being imported.
EventBase::getFeed public function Returns the feed.
EventBase::__construct public function Constructs an EventBase object. 6
FetchEvent::$fetcherResult protected property The fetcher result.
FetchEvent::getFetcherResult public function Returns the fetcher result.
FetchEvent::setFetcherResult public function Sets the fetcher result.