getVisibility() public method

Get visibility of a file or directory.
public getVisibility ( string $path ) : string
$path string
return string
コード例 #1
0
 /**
  *
  */
 public function testApiGetVisibility_ThrowsException_WhenModelThrowsException()
 {
     $this->setExpectedException(ReadException::class);
     $path = 'path';
     $this->expect('getVisibility', [$path])->willThrow(new Exception());
     $this->fs->getVisibility($path);
 }