CallableParameter
in package
Value Object representing a Callable parameters.
Tags
Table of Contents
- $isOptional : bool
- $isReference : bool
- $isVariadic : bool
- $name : string|null
- $type : Type
- __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
Return values
mixed —getName()
public
getName() : string|null
Return values
string|null —getType()
public
getType() : Type
Return values
Type —isOptional()
public
isOptional() : bool
Return values
bool —isReference()
public
isReference() : bool
Return values
bool —isVariadic()
public
isVariadic() : bool