Documentation

WorldProviderManagerEntry
in package

Tags
phpstan-type

IsValid \Closure(string $path) : bool

Table of Contents

$isValid  : Closure
fromPath()  : WorldProvider
isValid()  : bool
Tells if the path is a valid world.
__construct()  : mixed

Properties

Methods

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
Tags
phpstan-param

IsValid $isValid

Return values
mixed

Search results