Checks property first, falls back to setter method.
protected inspectProperty ( ReflectionClass $rc, string $name ) : array | ||
$rc | ReflectionClass | Reflection class to check |
$name | string | Property name |
return | array | First value: if the property exists Second value: the accessor to use ( ReflectionMethod or ReflectionProperty, or null) Third value: type of the property |