original_string: public function directoryOnly($flag = true)
      {
          $this->directory_only = $flag;
          if ($this->directory_only) $this->file_only = false;
          return $this;
      }
code: public function directoryOnly($flag = true)
      {
          $this->directory_only = $flag;
          if ($this->directory_only) $this->file_only = false;
          return $this;
      }
code_tokens: public function directoryOnly ( $ flag = true ) { $ this -> directory_only = $ flag ; if ( $ this -> directory_only ) $ this -> file_only = false ; return $ this ; }
docstring: set directory only is true.
  
  @param   boolean $flag
  @return  Samurai\Samurai\Component\FileSystem\Finder\Finder
docstring_tokens: set directory only is true .