Ouzo\Utilities\Files::exists PHP Метод

exists() публичный статический Метод

Checks if the given file exists.
public static exists ( string $path ) : boolean
$path string
Результат boolean
    public static function exists($path)
    {
        return file_exists($path);
    }

Usage Example

Пример #1
0
 protected function tearDown()
 {
     if (Files::exists($this->controllerPath)) {
         Files::delete($this->controllerPath);
     }
     parent::tearDown();
 }
All Usage Examples Of Ouzo\Utilities\Files::exists