PocketMine-MP 5.44.4 git-bc94a0da0c87abe7eb99d229a9ec672b3c405d11
Loading...
Searching...
No Matches
DaveRandom\CallbackValidator\Type\NamedType Class Reference
+ Inheritance diagram for DaveRandom\CallbackValidator\Type\NamedType:
+ Collaboration diagram for DaveRandom\CallbackValidator\Type\NamedType:

Public Member Functions

 __construct (string|BuiltInType $type,)
 
 stringify (int $depth=0)
 

Public Attributes

readonly string BuiltInType $type
 

Detailed Description

Similar to ReflectionNamedType

Definition at line 8 of file NamedType.php.

Constructor & Destructor Documentation

◆ __construct()

DaveRandom\CallbackValidator\Type\NamedType::__construct ( string|BuiltInType $type)

Definition at line 12 of file NamedType.php.

Member Function Documentation

◆ stringify()

DaveRandom\CallbackValidator\Type\NamedType::stringify ( int $depth = 0)

Implements DaveRandom\CallbackValidator\Type\BaseType.

Definition at line 24 of file NamedType.php.

Member Data Documentation

◆ $type

readonly string BuiltInType DaveRandom\CallbackValidator\Type\NamedType::$type

Definition at line 10 of file NamedType.php.


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