Menu

## ArgumentTypeNode extends TypeNodeAbstract
in package

ArgumentTypeNode.php : 7

### Table of Contents

$types : array<string|int, string>
__construct() : mixed
canUseNullShorthand() : bool
getNonNullTypes() : array<string|int, mixed>
getTypes() : array<string|int, mixed>
getRealType() : string
guardIsValidType() : mixed
prefixWithNsSeparator() : string

### Properties

#### $types

TypeNodeAbstract.php : 10
`protected array<string|int, string> $types = []`

### Methods

#### __construct()

TypeNodeAbstract.php : 12
`public __construct(string ...$types) : mixed`

##### Parameters

$types : string

##### Return values

mixed —

#### canUseNullShorthand()

TypeNodeAbstract.php : 22
`public canUseNullShorthand() : bool`

##### Return values

bool —

#### getNonNullTypes()

TypeNodeAbstract.php : 32
`public getNonNullTypes() : array<string|int, mixed>`

##### Return values

array<string|int, mixed> —

#### getTypes()

TypeNodeAbstract.php : 27
`public getTypes() : array<string|int, mixed>`

##### Return values

array<string|int, mixed> —

#### getRealType()

TypeNodeAbstract.php : 45
`protected getRealType(string $type) : string`

##### Parameters

$type : string

##### Return values

string —

#### guardIsValidType()

TypeNodeAbstract.php : 79
`protected guardIsValidType() : mixed`

##### Return values

mixed —

#### prefixWithNsSeparator()

TypeNodeAbstract.php : 40
`protected prefixWithNsSeparator(string $type) : string`

##### Parameters

$type : string

##### Return values

string —

## Search results