PocketMine-MP 5.18.2 git-00e39821f06a4b6d728d35053c2621dbb19369ff
DaveRandom\CallbackValidator\MatchTester Class Reference
+ Collaboration diagram for DaveRandom\CallbackValidator\MatchTester:

Static Public Member Functions

static isMatch ($superTypeName, $superTypeNullable, $subTypeName, $subTypeNullable, $weak)
 
static isWeakScalarMatch ($superTypeName, $subTypeName)
 

Detailed Description

Definition at line 5 of file MatchTester.php.

Member Function Documentation

◆ isMatch()

static DaveRandom\CallbackValidator\MatchTester::isMatch (   $superTypeName,
  $superTypeNullable,
  $subTypeName,
  $subTypeNullable,
  $weak 
)
static
Parameters
string | null$superTypeName
bool$superTypeNullable
string | null$subTypeName
bool$subTypeNullable
bool$weak
Returns
bool

Definition at line 71 of file MatchTester.php.

References DaveRandom\CallbackValidator\MatchTester\isWeakScalarMatch().

Referenced by DaveRandom\CallbackValidator\Type\isSatisfiedBy().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isWeakScalarMatch()

static DaveRandom\CallbackValidator\MatchTester::isWeakScalarMatch (   $superTypeName,
  $subTypeName 
)
static
Parameters
string$superTypeName
string$subTypeName
Returns
bool

Definition at line 43 of file MatchTester.php.

Referenced by DaveRandom\CallbackValidator\MatchTester\isMatch(), and DaveRandom\CallbackValidator\Type\isSatisfiedBy().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: