PropertyReflection
extends AbstractReflection
in package
Property reflection code class
Tags
Table of Contents
Methods
- parse() : PropertyGenerator
- Method to parse a property
- resolveType() : string|null
- Resolve a property's declared type (if any) into a bare, pipe-joined type-hint string
Methods
parse()
Method to parse a property
public
static parse(mixed $code[, string|null $name = null ][, mixed $value = null ]) : PropertyGenerator
Parameters
- $code : mixed
- $name : string|null = null
- $value : mixed = null
Return values
PropertyGeneratorresolveType()
Resolve a property's declared type (if any) into a bare, pipe-joined type-hint string
protected
static resolveType(ReflectionProperty $property) : string|null
Parameters
- $property : ReflectionProperty