original_string: protected function extractPagination()
      {
          Logger::log(static::class . ' extract pagination start', LOG_DEBUG);
          $page = array_key_exists(self::API_PAGE_FIELD, $this->query) ? $this->query[self::API_PAGE_FIELD] : 1;
          $limit = array_key_exists(self::API_LIMIT_FIELD, $this->query) ? $this->query[self::API_LIMIT_FIELD] : 100;
          Logger::log(static::class . ' extract pagination end', LOG_DEBUG);
          return array($page, (int)$limit);
      }
code: protected function extractPagination()
      {
          Logger::log(static::class . ' extract pagination start', LOG_DEBUG);
          $page = array_key_exists(self::API_PAGE_FIELD, $this->query) ? $this->query[self::API_PAGE_FIELD] : 1;
          $limit = array_key_exists(self::API_LIMIT_FIELD, $this->query) ? $this->query[self::API_LIMIT_FIELD] : 100;
          Logger::log(static::class . ' extract pagination end', LOG_DEBUG);
          return array($page, (int)$limit);
      }
code_tokens: protected function extractPagination ( ) { Logger :: log ( static :: class . ' extract pagination start' , LOG_DEBUG ) ; $ page = array_key_exists ( self :: API_PAGE_FIELD , $ this -> query ) ? $ this -> query [ self :: API_PAGE_FIELD ] : 1 ; $ limit = array_key_exists ( self :: API_LIMIT_FIELD , $ this -> query ) ? $ this -> query [ self :: API_LIMIT_FIELD ] : 100 ; Logger :: log ( static :: class . ' extract pagination end' , LOG_DEBUG ) ; return array ( $ page , ( int ) $ limit ) ; }
docstring: Extract pagination values
  @return array
docstring_tokens: Extract pagination values