Definition of a PHP attribute.

Base for class, interface, trait, and enum definitions.

Provides advanced manipulation of a ClassType, such as inheriting members from parent classes or implementing interfaces.

Definition of a class with properties, methods, constants, traits and PHP attributes.

Definition of a closure.

Definition of a class constant.

Generates a PHP representation of a variable.

Definition of an enum case.

Definition of an enum with cases, methods, constants and traits.

Extracts information from PHP code.

Creates PhpGenerator representations from reflection objects or PHP source code.

Definition of a global function.

Definition of an interface with properties, methods and constants.

Raw PHP expression written to output as-is without escaping.

Definition of a class method.

Definition of a function/method parameter.

Represents a complete PHP file with namespaces, classes, and functions.

PhpLiteral deprecated

Represents a PHP namespace with use statements and contained class-like types and functions.

Generates PHP code.

Definition of a promoted constructor parameter.

Definition of a class property.

Definition of a property hook.

Generates PHP code following PSR-2/PSR-12/PER coding style (4-space indentation, braces on same line).

Definition of a trait with properties, methods, constants and traits.

Definition of a trait use statement.

Constants and helpers for PHP type declarations.