fileExists() публичный Метод

Check if a file exists.
public fileExists ( string $fn, boolean $safe ) : boolean
$fn string
$safe boolean
Результат boolean
Пример #1
0
 public function testFileExistsSafe()
 {
     $app = $this->getApp();
     $handler = new UtilsHandler($app);
     $result = $handler->fileExists(__FILE__, true);
     $this->assertFalse($result);
 }