Browse Source

No need to implement serializable in ResultSetDecorator anymore

Jose Lorenzo Rodriguez 10 years ago
parent
commit
1f6051d1fe
1 changed files with 0 additions and 25 deletions
  1. 0 25
      src/Datasource/ResultSetDecorator.php

+ 0 - 25
src/Datasource/ResultSetDecorator.php

@@ -43,29 +43,4 @@ class ResultSetDecorator extends Collection implements ResultSetInterface
 
         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));
-    }
 }