1
0
mirror of synced 2025-01-19 06:51:40 +03:00
This commit is contained in:
zYne 2007-07-30 22:30:41 +00:00
parent ac88e64940
commit fe1bc520a8

View File

@ -580,6 +580,10 @@ class Doctrine_Collection extends Doctrine_Access implements Countable, Iterator
return $this;
}
public function toArray()
{
return $this->data;
}
public function getDeleteDiff()
{
return array_diff($this->_snapshot, $this->data);