ClassMetadataCache
class ClassMetadataCache
Properties
| static protected ReflectionClass<object>> | $classes | ||
| static protected ReflectionMethod>> | $methods | ||
| static protected array<class-string, array<string, mixed>> | $defaultProperties | ||
| static protected ReflectionProperty>> | $properties | ||
| static protected CachedClassAttribute>> | $attributes | ||
| static protected array<class-string, array<class-string, bool>> | $classAttributePresence | ||
| static protected array<class-string, array<string, array<class-string, bool>>> | $propertyAttributePresence |
Methods
Get the cached reflection class for the given class.
Get the cached reflection method for the given class and method.
Get the cached default properties for the given class.
Get the cached properties for the given class.
Get the cached class attribute metadata for the given class.
Determine if the given class has the given concrete class attribute.
Determine if the given property has the given concrete property attribute.
Resolve the class attribute metadata for the given class.
Get the class name for the given target.
Flush all static state.
Details
at line 58
static ReflectionClass
reflectClass(object|string $target)
Get the cached reflection class for the given class.
at line 72
static ReflectionMethod
reflectMethod(object|string $target, string $method)
Get the cached reflection method for the given class and method.
at line 88
static array
defaultProperties(object|string $target)
Get the cached default properties for the given class.
at line 104
static array
properties(object|string $target)
Get the cached properties for the given class.
at line 120
static CachedClassAttribute|null
getAttribute(object|string $target, string $attributeClass)
Get the cached class attribute metadata for the given class.
at line 143
static bool
hasClassAttribute(object|string $target, string $attributeClass)
Determine if the given class has the given concrete class attribute.
at line 164
static bool
hasPropertyAttribute(ReflectionProperty $property, string $attributeClass)
Determine if the given property has the given concrete property attribute.
at line 191
static protected CachedClassAttribute|null
resolveAttribute(string $class, string $attributeClass)
Resolve the class attribute metadata for the given class.
at line 228
static protected string
className(object|string $target)
Get the class name for the given target.
at line 236
static void
flushState()
Flush all static state.