WorldProviderManagerEntry
in package
Tags
Table of Contents
- $isValid : Closure
- fromPath() : WorldProvider
- isValid() : bool
- Tells if the path is a valid world.
- __construct() : mixed
Properties
$isValid
protected
Closure
$isValid
Tags
Methods
fromPath()
public
abstract fromPath(string $path) : WorldProvider
Parameters
- $path : string
Tags
Return values
WorldProvider —isValid()
Tells if the path is a valid world.
public
isValid(string $path) : bool
This must tell if the current format supports opening the files in the directory
Parameters
- $path : string
Return values
bool —__construct()
protected
__construct(Closure $isValid) : mixed
Parameters
- $isValid : Closure