PhpReflection deprecated
class PhpReflection
deprecated
internal |
PHP reflection helpers.
Methods
static string|null
static ReflectionClass
static string|null
static string|null
static bool
isBuiltinType($type)
No description
static string[]
static string
static array
static array
parseUseStatements($code, $forClass = null)
Parses PHP code.
Details
at line 26
static string|null
parseAnnotation(Reflector $ref, $name)
Returns an annotation value.
at line 46
static ReflectionClass
getDeclaringClass(ReflectionProperty $prop)
Returns declaring class or trait.
at line 60
static string|null
getParameterType(ReflectionParameter $param)
No description
at line 83
static string|null
getReturnType(ReflectionFunctionAbstract $func)
No description
at line 102
static bool
isBuiltinType($type)
No description
at line 112
static string[]
getClassTree(ReflectionClass $class)
Returns class and all its descendants.
at line 131
static string
expandClassName($name, ReflectionClass $rc)
Expands class name into full name.
at line 165
static array
getUseStatements(ReflectionClass $class)
No description
at line 185
static array
parseUseStatements($code, $forClass = null)
Parses PHP code.
Traits
StaticClass