isPublic() public méthode

Check if file or directory is public.
public isPublic ( string $path = '' ) : boolean
$path string
Résultat boolean
 /**
  *
  */
 public function testApiIsPublic_RethrowsException()
 {
     $this->setExpectedException(ReadException::class);
     $path = 'path';
     $this->expect('getVisibility', [$path])->willThrow(new Exception());
     $this->fs->isPublic($path);
 }