You are here

function FeedsSimplePieEnclosure::__construct in Feeds 8.2

Constructor requires SimplePie enclosure object.

Overrides FeedsEnclosure::__construct

File

lib/Drupal/feeds/FeedsSimplePieEnclosure.php, line 12

Class

FeedsSimplePieEnclosure

Namespace

Drupal\feeds

Code

function __construct(\SimplePie_Enclosure $enclosure) {
  $this->simplepie_enclosure = $enclosure;
}