public function getByArea(string $area, int $scopes = self::DEFAULT, int $limit = 15): LengthAwarePaginator
    {
        $query = $this->getModel()->newQuery()->where('area', $area);

        return $this->getScopes($query, $scopes)->paginate($limit);
    }
public function getByArea(string $area, int $scopes = self::DEFAULT, int $limit = 15): LengthAwarePaginator
    {
        $query = $this->getModel()->newQuery()->where('area', $area);

        return $this->getScopes($query, $scopes)->paginate($limit);
    }
public function getByArea ( string $ area , int $ scopes = self :: DEFAULT , int $ limit = 15 ) : LengthAwarePaginator { $ query = $ this -> getModel ( ) -> newQuery ( ) -> where ( 'area' , $ area ) ; return $ this -> getScopes ( $ query , $ scopes ) -> paginate ( $ limit ) ; }
Get cages for area

@param string $area
@param int    $scopes
@param int    $limit
@return \Illuminate\Contracts\Pagination\LengthAwarePaginator
Get cages for area