original_string: public function set($file, $url, $title, $titles, $tocs, $ctime, array $depends)
      {
          foreach ($tocs as $toc) {
              foreach ($toc as $child) {
                  $this->parents[$child] = $file;
                  if (isset($this->entries[$child])) {
                      $this->entries[$child]['parent'] = $file;
                  }
              }
          }
  
          $this->entries[$file] = array(
              'file' => $file,
              'url' => $url,
              'title' => $title,
              'titles' => $titles,
              'tocs' => $tocs,
              'ctime' => $ctime,
              'depends' => $depends
          );
  
          if (isset($this->parents[$file])) {
              $this->entries[$file]['parent'] = $this->parents[$file];
          }
      }
code: public function set($file, $url, $title, $titles, $tocs, $ctime, array $depends)
      {
          foreach ($tocs as $toc) {
              foreach ($toc as $child) {
                  $this->parents[$child] = $file;
                  if (isset($this->entries[$child])) {
                      $this->entries[$child]['parent'] = $file;
                  }
              }
          }
  
          $this->entries[$file] = array(
              'file' => $file,
              'url' => $url,
              'title' => $title,
              'titles' => $titles,
              'tocs' => $tocs,
              'ctime' => $ctime,
              'depends' => $depends
          );
  
          if (isset($this->parents[$file])) {
              $this->entries[$file]['parent'] = $this->parents[$file];
          }
      }
code_tokens: public function set ( $ file , $ url , $ title , $ titles , $ tocs , $ ctime , array $ depends ) { foreach ( $ tocs as $ toc ) { foreach ( $ toc as $ child ) { $ this -> parents [ $ child ] = $ file ; if ( isset ( $ this -> entries [ $ child ] ) ) { $ this -> entries [ $ child ] [ 'parent' ] = $ file ; } } } $ this -> entries [ $ file ] = array ( 'file' => $ file , 'url' => $ url , 'title' => $ title , 'titles' => $ titles , 'tocs' => $ tocs , 'ctime' => $ ctime , 'depends' => $ depends ) ; if ( isset ( $ this -> parents [ $ file ] ) ) { $ this -> entries [ $ file ] [ 'parent' ] = $ this -> parents [ $ file ] ; } }
docstring: Sets the meta for url, giving the title, the modification time and
  the dependencies list
docstring_tokens: Sets the meta for url giving the title the modification time and the dependencies list