Methods |
public
|
getConstructor(): ?MethodReflection
|
#
|
public
|
getMethod($name): MethodReflection
|
#
|
public
|
getMethods($filter = null): MethodReflection[]
|
#
|
public
|
isHierarchical(): bool
Check if the class is hierarchical
Check if the class is hierarchical
|
#
|
public
|
isReadable(): bool
Check if the class has readable properties
Check if the class has readable properties
|
#
|
public
|
isWritable(): bool
Check if the class has writable properties
Check if the class has writable properties
|
#
|
public
|
isExtensible(): bool
Check if the class has dynamic properties
Check if the class has dynamic properties
|
#
|
public
|
isNormalisable(): bool
Check if the class can normalise property names
Check if the class can normalise property names
|
#
|
public
|
isProvidable(): bool
Check if the class can be serviced by a provider
Check if the class can be serviced by a provider
|
#
|
public
|
isRelatable(): bool
Check if the class has relationships
Check if the class has relationships
|
#
|
public
|
isTreeable(): bool
Check if the class has parent/children properties
Check if the class has parent/children properties
|
#
|
public
|
isTemporal(): bool
Check if the class has date properties
Check if the class has date properties
|
#
|
public
|
getDynamicPropertiesProperty(): ?string
Get the property that stores dynamic properties, or null if the class
does not have dynamic properties
Get the property that stores dynamic properties, or null if the class
does not have dynamic properties
|
#
|
public
|
getDynamicPropertyNamesProperty(): ?string
Get the property that stores dynamic property names, or null if the class
does not have dynamic properties
Get the property that stores dynamic property names, or null if the class
does not have dynamic properties
|
#
|
public
|
getParentProperty(): ?string
Get the property that links children to a parent of the same type, or
null if the class does not have parent/children…
Get the property that links children to a parent of the same type, or
null if the class does not have parent/children properties
|
#
|
public
|
getChildrenProperty(): ?string
Get the property that links a parent to children of the same type, or
null if the class does not have parent/children…
Get the property that links a parent to children of the same type, or
null if the class does not have parent/children properties
|
#
|
public
|
normalise(string[]|string $name, bool $fromData = true): ($name is string[] ? string[] : string)
Normalise the given property name or names
Normalise the given property name or names
If the class doesn't implement {@see Normalisable}, $name is returned
unchanged.
|
#
|
public
|
getNormaliser(): (Closure(string $name, bool $fromData): string)|null
Get a closure that normalises property names, or null if the class does
not normalise property names
Get a closure that normalises property names, or null if the class does
not normalise property names
|
#
|
public
|
getDeclaredNames(): list<string>
Get normalised names for the declared and "magic" properties of the class
that are readable or writable
Get normalised names for the declared and "magic" properties of the class
that are readable or writable
|
#
|
public
|
getSerializableNames(): list<string>
Get normalised names for the declared and "magic" properties of the class
that are both readable and writable
Get normalised names for the declared and "magic" properties of the class
that are both readable and writable
|
#
|
public
|
getWritableNames(): list<string>
Get normalised names for the declared and "magic" properties of the class
that are writable
Get normalised names for the declared and "magic" properties of the class
that are writable
|
#
|
public
|
getAccessiblePropertyNames(): array<string, string>
Get an array that maps normalised names to declared names for accessible
properties
Get an array that maps normalised names to declared names for accessible
properties
Returns names of public properties and any protected properties covered
by {@see Readable::getReadableProperties()} or
{@see Writable::getWritableProperties()}, if applicable.
|
#
|
public
|
getReadablePropertyNames(): array<string, string>
Get an array that maps normalised names to declared names for readable
properties
Get an array that maps normalised names to declared names for readable
properties
Returns names of public properties and any protected properties covered
by {@see Readable::getReadableProperties()}, if applicable.
|
#
|
public
|
getWritablePropertyNames(): array<string, string>
Get an array that maps normalised names to declared names for writable
properties
Get an array that maps normalised names to declared names for writable
properties
Returns names of public properties and any protected properties covered
by {@see Writable::getWritableProperties()}, if applicable.
|
#
|
public
|
getAccessibleProperties(): array<string, ReflectionProperty>
Get accessible properties, indexed by normalised name
Get accessible properties, indexed by normalised name
Returns public properties and any protected properties covered by
{@see Readable::getReadableProperties()} or
{@see Writable::getWritableProperties()}, if applicable.
|
#
|
public
|
getReadableProperties(): array<string, ReflectionProperty>
Get readable properties, indexed by normalised name
Get readable properties, indexed by normalised name
Returns public properties and any protected properties covered by
{@see Readable::getReadableProperties()}, if applicable.
|
#
|
public
|
getWritableProperties(): array<string, ReflectionProperty>
Get writable properties, indexed by normalised name
Get writable properties, indexed by normalised name
Returns public properties and any protected properties covered by
{@see Writable::getWritableProperties()}, if applicable.
|
#
|
public
|
getPropertyActions(): array<'get'|'isset'|'set'|'unset', array<string, MethodReflection>>
Get "magic" properties, indexed by action and normalised property name
Get "magic" properties, indexed by action and normalised property name
|
#
|
public
|
getActionProperties(
'get'|'isset'|'set'|'unset' ...$action,
): array<string, array<'get'|'isset'|'set'|'unset', MethodReflection>>
Get "magic" properties, indexed by normalised property name and action
Get "magic" properties, indexed by normalised property name and action
If no actions are given, properties are returned for all actions.
|
#
|
public
|
getDateNames(): list<string>
Get normalised names for the declared and "magic" properties of the class
that accept date values
Get normalised names for the declared and "magic" properties of the class
that accept date values
|
#
|
public
|
getPropertyRelationships(): array<string, PropertyRelationship>
Get property relationships, indexed by normalised property name
Get property relationships, indexed by normalised property name
|
#
|