diff --git a/idiorm.php b/idiorm.php index 128c6b7..0625302 100644 --- a/idiorm.php +++ b/idiorm.php @@ -2503,6 +2503,14 @@ public function offsetUnset($offset) { unset($this->_results[$offset]); } + public function __serialize() { + return $this->serialize(); + } + + public function __unserialize($data) { + $this->unserialize($data); + } + /** * Serializable * @return string