// Add Collection::getResults() method
This commit is contained in:
1 parent
eded11b110
commit
5d26ddec32
1 file changed
+10
@@ -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
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user