Added Eloquent::all().
This commit is contained in:
@@ -477,7 +477,7 @@ abstract class Eloquent {
|
|||||||
{
|
{
|
||||||
$model = static::make(get_called_class());
|
$model = static::make(get_called_class());
|
||||||
|
|
||||||
if ($method == 'get')
|
if ($method == 'get' or $method == 'all')
|
||||||
{
|
{
|
||||||
return $model->_get();
|
return $model->_get();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user