static-constructors

StaticConstructors

Table of Contents

Interfaces

StaticConstructorClassPolicy
Interface defining requirements for static constructor class policies.
StaticConstructorMethodPolicy
Interface defining requirements for static constructor method policies.

Classes

Loader
Singleton responsible for calling static constructors on classes that provide them.
PhpStyleConstructorPolicy
Class policy for classes which define a static constructor with the `__constructStatic()` magic method.
SameNameAsClassPolicy
Class policy for classes which define a static constructor with the same name as the class.
BaseRequirementMethodPolicy
Base requirements that must be enforced on any method for it to be considered a static constructor.
NoArgumentsMethodPolicy
Method policy for enforcing a static constructor candidate method takes no arguments (even defaulted.)
PrivateVisibilityPolicy
Method policy for enforcing a static constructor candidate method has private visibility.
ProtectedVisibilityPolicy
Method policy for enforcing a static constructor candidate method has protected visibility.
PublicVisibilityPolicy
Method policy for enforcing a static constructor candidate method has public visibility.
VisibilityMethodPolicy
Abstract method policy implementation for enforcing visibility requirements on static constructor methods.

Enums

ConstructorVisibility
Specifies valid static constructor visibility levels as an enum.

        
On this page

Search results