Added Eloquent::all().
This commit is contained in:
parent
a97b8b7fda
commit
3985a98f60
|
@ -477,7 +477,7 @@ public static function __callStatic($method, $parameters)
|
||||||
{
|
{
|
||||||
$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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue