CallableParameter
in package
FinalYes
Value Object representing a Callable parameters.
Tags
Table of Contents
Properties
- $isOptional : bool
- $isReference : bool
- $isVariadic : bool
- $name : string|null
- $type : Type
Methods
- __construct() : mixed
- getName() : string|null
- getType() : Type
- isOptional() : bool
- isReference() : bool
- isVariadic() : bool
Properties
$isOptional
private
bool
$isOptional
$isReference
private
bool
$isReference
$isVariadic
private
bool
$isVariadic
$name
private
string|null
$name
$type
private
Type
$type
Methods
__construct()
public
__construct(Type $type[, string|null $name = null ][, bool $isReference = false ][, bool $isVariadic = false ][, bool $isOptional = false ]) : mixed
Parameters
- $type : Type
- $name : string|null = null
- $isReference : bool = false
- $isVariadic : bool = false
- $isOptional : bool = false
getName()
public
getName() : string|null
Return values
string|nullgetType()
public
getType() : Type
Return values
TypeisOptional()
public
isOptional() : bool
Return values
boolisReference()
public
isReference() : bool
Return values
boolisVariadic()
public
isVariadic() : bool