public function directoryOnly($flag = true)
    {
        $this->directory_only = $flag;
        if ($this->directory_only) $this->file_only = false;
        return $this;
    }
public function directoryOnly($flag = true)
    {
        $this->directory_only = $flag;
        if ($this->directory_only) $this->file_only = false;
        return $this;
    }
public function directoryOnly ( $ flag = true ) { $ this -> directory_only = $ flag ; if ( $ this -> directory_only ) $ this -> file_only = false ; return $ this ; }
set directory only is true.

@param   boolean $flag
@return  Samurai\Samurai\Component\FileSystem\Finder\Finder
set directory only is true .