|
PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
|
Inheritance diagram for pocketmine\world\format\io\ReadOnlyWorldProviderManagerEntry:
Collaboration diagram for pocketmine\world\format\io\ReadOnlyWorldProviderManagerEntry:Public Member Functions | |
| __construct (\Closure $isValid, private \Closure $fromPath) | |
| fromPath (string $path, \Logger $logger) | |
| isValid (string $path) | |
@phpstan-type FromPath \Closure(string $path, \Logger $logger) : WorldProvider
Definition at line 29 of file ReadOnlyWorldProviderManagerEntry.php.
| pocketmine\world\format\io\ReadOnlyWorldProviderManagerEntry::__construct | ( | \Closure | $isValid, |
| private \Closure | $fromPath ) |
@phpstan-param FromPath $fromPath
Definition at line 32 of file ReadOnlyWorldProviderManagerEntry.php.
| pocketmine\world\format\io\ReadOnlyWorldProviderManagerEntry::fromPath | ( | string | $path, |
| \Logger | $logger ) |
| CorruptedWorldException | |
| UnsupportedWorldFormatException |
Reimplemented from pocketmine\world\format\io\WorldProviderManagerEntry.
Definition at line 39 of file ReadOnlyWorldProviderManagerEntry.php.
|
inherited |
Tells if the path is a valid world. This must tell if the current format supports opening the files in the directory
Definition at line 43 of file WorldProviderManagerEntry.php.