class TypeHintReader implements TypeReader

Class TypeHintReader

Methods

__construct(ReflectionClass $class)

TypeHintReader constructor.

getReflectionType(string $propertyName)

No description

string
getTypeName(string $propertyName)

No description

bool
typeAllowNull(string $propertyName)

No description

bool
typeIsBuiltin(string $propertyName)

No description

static TypeHintReader
byClassName(string $class)

No description

Details

at line 17
__construct(ReflectionClass $class)

TypeHintReader constructor.

Parameters

ReflectionClass $class

at line 25
ReflectionType getReflectionType(string $propertyName)

Parameters

string $propertyName

Return Value

ReflectionType

Exceptions

TypeHintReaderException

at line 84
string getTypeName(string $propertyName)

Parameters

string $propertyName

Return Value

string

Exceptions

TypeHintReaderException

at line 92
bool typeAllowNull(string $propertyName)

Parameters

string $propertyName

Return Value

bool

Exceptions

TypeHintReaderException

at line 100
bool typeIsBuiltin(string $propertyName)

Parameters

string $propertyName

Return Value

bool

Exceptions

TypeHintReaderException

at line 111
static TypeHintReader byClassName(string $class)

Parameters

string $class

Return Value

TypeHintReader

Exceptions

TypeHintReaderException
ReflectionException