static-constructors

BaseRequirementMethodPolicy
in package
implements StaticConstructorMethodPolicy

FinalYes

Base requirements that must be enforced on any method for it to be considered a static constructor.

Table of Contents

Interfaces

StaticConstructorMethodPolicy
Interface defining requirements for static constructor method policies.

Methods

meetsRequirements()  : bool
Enforces that a method is static, is not abstract and is user-defined.

Methods

meetsRequirements()

Enforces that a method is static, is not abstract and is user-defined.

public static meetsRequirements(ReflectionMethod $method) : bool
Parameters
$method : ReflectionMethod
Return values
bool

        
On this page

Search results