isPrivate() public method

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