Ouzo\Utilities\Files::exists PHP Method

exists() public static method

Checks if the given file exists.
public static exists ( string $path ) : boolean
$path string
return boolean
    public static function exists($path)
    {
        return file_exists($path);
    }

Usage Example

Esempio n. 1
0
 protected function tearDown()
 {
     if (Files::exists($this->controllerPath)) {
         Files::delete($this->controllerPath);
     }
     parent::tearDown();
 }
All Usage Examples Of Ouzo\Utilities\Files::exists