Documentation

ExtensionMethod
in package

Annotation that is used to link a static method to a model entity.

Tags
Annotation
Target

("METHOD")

Attributes

({ @Attribute("as", type="string") })

Table of Contents

$methodName  : string
__construct()  : mixed
ExtensionMethod constructor.
getMethodName()  : string
Returns the method name.

Properties

Methods

__construct()

ExtensionMethod constructor.

public __construct(array<string|int, mixed> $attributes) : mixed
Parameters
$attributes : array<string|int, mixed>
Tags
throws
ArgumentException
Return values
mixed

getMethodName()

Returns the method name.

public getMethodName() : string
Return values
string

Search results