You are here

public function FeedsSimplePieEnclosure::__sleep in Feeds 8.2

Serialization helper.

Handle the simplepie enclosure class seperately ourselves.

File

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

Class

FeedsSimplePieEnclosure

Namespace

Drupal\feeds

Code

public function __sleep() {
  $this->_serialized_simplepie_enclosure = serialize($this->simplepie_enclosure);
  return array(
    '_serialized_simplepie_enclosure',
  );
}