Class PHPStan\Reflection\AttributeReflection

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