original_string: protected function publishItem($from, $to)
      {
          if ($this->files->isFile($from)) {
              return $this->publishFile($from, $to);
          } elseif ($this->files->isDirectory($from)) {
              return $this->publishDirectory($from, $to);
          }
  
          $this->error("Can't locate path: <{$from}>");
      }
code: protected function publishItem($from, $to)
      {
          if ($this->files->isFile($from)) {
              return $this->publishFile($from, $to);
          } elseif ($this->files->isDirectory($from)) {
              return $this->publishDirectory($from, $to);
          }
  
          $this->error("Can't locate path: <{$from}>");
      }
code_tokens: protected function publishItem ( $ from , $ to ) { if ( $ this -> files -> isFile ( $ from ) ) { return $ this -> publishFile ( $ from , $ to ) ; } elseif ( $ this -> files -> isDirectory ( $ from ) ) { return $ this -> publishDirectory ( $ from , $ to ) ; } $ this -> error ( "Can't locate path: <{$from}>" ) ; }
docstring: Publish the given item from and to the given location.
  
  @param  string  $from
  @param  string  $to
  @return void
docstring_tokens: Publish the given item from and to the given location .