Beispiel #1
0
 /**
  *	Есть такой файл или папка на диске
  *
  *	@return	boolean
  */
 public function has($key = null)
 {
     try {
         if ($this->getContents()) {
             if ($key === null) {
                 return true;
             }
             return parent::has($key);
         }
     } catch (\Exception $exc) {
     }
     return false;
 }