Kraken\Filesystem\FilesystemInterface::isPrivate PHP Method

isPrivate() public method

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

Usage Example

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