protected function getLimit()
    {
        $limit = $this->activeState()->getLimit();
        if (!in_array($limit, $this->limits)) {
            //We are using lowest limit by default
            return $this->limits[0];
        }

        return $limit;
    }
protected function getLimit()
    {
        $limit = $this->activeState()->getLimit();
        if (!in_array($limit, $this->limits)) {
            //We are using lowest limit by default
            return $this->limits[0];
        }

        return $limit;
    }
protected function getLimit ( ) { $ limit = $ this -> activeState ( ) -> getLimit ( ) ; if ( ! in_array ( $ limit , $ this -> limits ) ) { //We are using lowest limit by default return $ this -> limits [ 0 ] ; } return $ limit ; }
Get active pagination limit

@return int
Get active pagination limit