Commit 3985a98f authored by Taylor Otwell's avatar Taylor Otwell

Added Eloquent::all().

parent a97b8b7f
...@@ -477,7 +477,7 @@ abstract class Eloquent { ...@@ -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();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment