original_string: public function setPage($page)
      {
          if (empty($page)) {
              return $this->clearPage();
          }
  
          session()->put($this->getSessionKey(static::TYPE_PAGE), $page);
  
          return $this;
      }
code: public function setPage($page)
      {
          if (empty($page)) {
              return $this->clearPage();
          }
  
          session()->put($this->getSessionKey(static::TYPE_PAGE), $page);
  
          return $this;
      }
code_tokens: public function setPage ( $ page ) { if ( empty ( $ page ) ) { return $ this -> clearPage ( ) ; } session ( ) -> put ( $ this -> getSessionKey ( static :: TYPE_PAGE ) , $ page ) ; return $ this ; }
docstring: Sets active page for the current context.
  
  @param int $page
  @return $this
docstring_tokens: Sets active page for the current context .