// Add Collection::getResults() method

This commit is contained in:
rMalie
2011-12-22 17:08:13 +00:00
parent eded11b110
commit 5d26ddec32
+10
View File
@@ -231,6 +231,16 @@ class CollectionCore implements Iterator, ArrayAccess, Countable
return $this;
}
/**
* Get results array
*
* @return array
*/
public function getResults()
{
return $this->results;
}
/**
* This method is called when a foreach begin
*