LMongo\Eloquent\Model::all PHP Method

all() public static method

Get all of the models from the database.
public static all ( array $columns = [] ) : Collection
$columns array
return Collection
    public static function all($columns = array())
    {
        $instance = new static();
        return $instance->newQuery()->get($columns);
    }
Model