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