isDir() public method

Check if path is a file.
public isDir ( string $path ) : boolean
$path string
return boolean
コード例 #1
0
 /**
  *
  */
 public function testApiIsDir_ThrowsException_WhenModelThrowsException()
 {
     $this->setExpectedException(ReadException::class);
     $path = 'path';
     $this->expect('getMetadata', [$path])->willThrow(new Exception());
     $this->fs->isDir($path);
 }