isPublic() 공개 메소드

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