// Add Collection::getResults() method

This commit is contained in:
rMalie
2011-12-22 17:08:13 +00:00
parent 17de501104
commit 5a7b411954
+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
*