public function objectsPerPage()
    {
        $perPage = 10;
        if (!empty($this->headers[self::PER_PAGE]) && is_array($this->headers[self::PER_PAGE])) {
            $perPage = (int) $this->headers[self::PER_PAGE][0];
        }

        return $perPage;
    }
public function objectsPerPage()
    {
        $perPage = 10;
        if (!empty($this->headers[self::PER_PAGE]) && is_array($this->headers[self::PER_PAGE])) {
            $perPage = (int) $this->headers[self::PER_PAGE][0];
        }

        return $perPage;
    }
public function objectsPerPage ( ) { $ perPage = 10 ; if ( ! empty ( $ this -> headers [ self :: PER_PAGE ] ) && is_array ( $ this -> headers [ self :: PER_PAGE ] ) ) { $ perPage = ( int ) $ this -> headers [ self :: PER_PAGE ] [ 0 ] ; } return $ perPage ; }
Number of element per page
@return int element per page
Number of element per page