Filesystem::isDir PHP 메소드

isDir() 공개 정적인 메소드

public static isDir ( $path )
    public static function isDir($path)
    {
        return is_dir(self::path($path));
    }

Usage Example

예제 #1
0
 public function createDir($destination)
 {
     if (Filesystem::isDir($destination)) {
         $this->log('exists', $destination);
     } else {
         Filesystem::createDir($destination, 0777);
         $this->log('created', $destination);
     }
 }