Added Eloquent::all().

This commit is contained in:
Taylor Otwell 2011-06-24 11:33:42 -07:00
parent a97b8b7fda
commit 3985a98f60
1 changed files with 1 additions and 1 deletions

View File

@ -477,7 +477,7 @@ public static function __callStatic($method, $parameters)
{
$model = static::make(get_called_class());
if ($method == 'get')
if ($method == 'get' or $method == 'all')
{
return $model->_get();
}