original_string: public function getForFrontend($pageId)
      {
          return $this->find()
              ->contain(['Current', 'Attributes'])
              ->formatResults([$this, 'formatAttributes'])
              ->where([$this->aliasField('id') => $pageId])
              ->first();
      }
code: public function getForFrontend($pageId)
      {
          return $this->find()
              ->contain(['Current', 'Attributes'])
              ->formatResults([$this, 'formatAttributes'])
              ->where([$this->aliasField('id') => $pageId])
              ->first();
      }
code_tokens: public function getForFrontend ( $ pageId ) { return $ this -> find ( ) -> contain ( [ 'Current' , 'Attributes' ] ) -> formatResults ( [ $ this , 'formatAttributes' ] ) -> where ( [ $ this -> aliasField ( 'id' ) => $ pageId ] ) -> first ( ) ; }
docstring: Find a single page including content and attributes for output in the frontend.
  
  @param int $pageId The page id.
  @return Page|null
docstring_tokens: Find a single page including content and attributes for output in the frontend .