Kraken\Filesystem\FilesystemManagerInterface::existsFilesystem PHP Метод

existsFilesystem() публичный Метод

Check if there is a FilesystemInterface saved under $prefix key.
public existsFilesystem ( string $prefix ) : boolean
$prefix string
Результат boolean
    public function existsFilesystem($prefix);

Usage Example

 /**
  * @dataProvider filesystemManagerProvider
  */
 public function testApiUnmountFilesystem_DoesNothing_WhenFsDoesNotExist(FilesystemManagerInterface $fs)
 {
     $prefix = 'not_fs';
     $this->assertFalse($fs->existsFilesystem($prefix));
     $fs->unmountFilesystem($prefix);
     $this->assertFalse($fs->existsFilesystem($prefix));
 }