static-constructors

StaticConstructorClassPolicy

Interface defining requirements for static constructor class policies.

Can be used to interact with the package and extend functionality.

Table of Contents

Methods

methodFor()  : ReflectionMethod|null
Retrieve the static constructor reflection information for the provided class if it exists.

Methods

methodFor()

Retrieve the static constructor reflection information for the provided class if it exists.

public static methodFor(ReflectionClass<string|int, object> $class) : ReflectionMethod|null
Parameters
$class : ReflectionClass<string|int, object>
Return values
ReflectionMethod|null

        
On this page

Search results