PocketMine-MP 5.39.4 git-a2b7d660558310260c376d1eeaff549367b9fc6e
Loading...
Searching...
No Matches
DaveRandom\CallbackValidator\Prototype Class Reference
+ Collaboration diagram for DaveRandom\CallbackValidator\Prototype:

Public Member Functions

 __construct (ReturnInfo $returnType, ParameterInfo ... $parameters)
 
 __toString ()
 
 getParameterInfo ()
 
 getRequiredParameterCount ()
 
 getReturnInfo ()
 
 isSatisfiedBy (Prototype $callable)
 

Static Public Member Functions

static fromClosure (\Closure $callable)
 

Detailed Description

Definition at line 13 of file Prototype.php.

Constructor & Destructor Documentation

◆ __construct()

DaveRandom\CallbackValidator\Prototype::__construct ( ReturnInfo $returnType,
ParameterInfo ... $parameters )

Definition at line 69 of file Prototype.php.

Member Function Documentation

◆ __toString()

DaveRandom\CallbackValidator\Prototype::__toString ( )
Returns
string

Definition at line 134 of file Prototype.php.

◆ fromClosure()

static DaveRandom\CallbackValidator\Prototype::fromClosure ( \Closure $callable)
static

Definition at line 49 of file Prototype.php.

◆ getParameterInfo()

DaveRandom\CallbackValidator\Prototype::getParameterInfo ( )
Returns
ParameterInfo[]

Definition at line 83 of file Prototype.php.

◆ getRequiredParameterCount()

DaveRandom\CallbackValidator\Prototype::getRequiredParameterCount ( )

Definition at line 87 of file Prototype.php.

◆ getReturnInfo()

DaveRandom\CallbackValidator\Prototype::getReturnInfo ( )

Definition at line 91 of file Prototype.php.

◆ isSatisfiedBy()

DaveRandom\CallbackValidator\Prototype::isSatisfiedBy ( Prototype $callable)

Definition at line 95 of file Prototype.php.


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