Skip to content
Permalink
Browse files

No need to implement serializable in ResultSetDecorator anymore

  • Loading branch information...
lorenzo committed Jul 7, 2015
1 parent 28fc8cc commit 1f6051d1fec56d65c6d53b075fcb476d2f0049ef
Showing with 0 additions and 25 deletions.
  1. +0 −25 src/Datasource/ResultSetDecorator.php
@@ -43,29 +43,4 @@ public function count()
return count($this->toArray());
}
/**
* Serialize a resultset.
*
* Part of Serializable interface.
*
* @return string Serialized object
*/
public function serialize()
{
return serialize($this->toArray());
}
/**
* Unserialize a resultset.
*
* Part of Serializable interface.
*
* @param string $serialized Serialized object
* @return void
*/
public function unserialize($serialized)
{
parent::__construct(unserialize($serialized));
}
}

0 comments on commit 1f6051d

Please sign in to comment.
You can’t perform that action at this time.