Kraken\Filesystem\FilesystemInterface::isPublic PHP Method

isPublic() public method

Check if file or directory is public.
public isPublic ( string $path = '' ) : boolean
$path string
return boolean
    public function isPublic($path = '');

Usage Example

コード例 #1
0
 /**
  *
  */
 public function testApiIsPublic_RethrowsException()
 {
     $this->setExpectedException(ReadException::class);
     $path = 'path';
     $this->expect('getVisibility', [$path])->willThrow(new Exception());
     $this->fs->isPublic($path);
 }