final |
|---|
Reflection for a PHP attribute (PHP 8.0+). Represents a single attribute applied to a class, method, property, function, parameter, or constant. Provides the attribute's class name and the types of its constructor arguments. Returned by the getAttributes() method on ExtendedMethodReflection, ExtendedPropertyReflection, FunctionReflection, ClassConstantReflection, etc.
| Methods | ||
|---|---|---|
public
|
__construct(string $name, array<string, Type> $argumentTypes)
|
# |
public
|
getName(): string
|
# |
public
|
getArgumentTypes(): array<string, Type>
|
# |