original_string: public function addPage(PageInterface $page)
      {
          $this->items[$page->path()] = ['slug' => $page->slug()];
  
          return $this;
      }
code: public function addPage(PageInterface $page)
      {
          $this->items[$page->path()] = ['slug' => $page->slug()];
  
          return $this;
      }
code_tokens: public function addPage ( PageInterface $ page ) { $ this -> items [ $ page -> path ( ) ] = [ 'slug' => $ page -> slug ( ) ] ; return $ this ; }
docstring: Add a single page to a collection
  
  @param PageInterface $page
  
  @return $this
docstring_tokens: Add a single page to a collection