PHP Класс Eloquent\Phony\Mock\Builder\Method\RealMethodDefinition

Наследование: implements Eloquent\Phony\Mock\Builder\Method\MethodDefinition
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( ReflectionMethod $method, string $name ) Construct a new real method definition.
accessLevel ( ) : string Get the access level.
callback ( ) : callable | null Get the callback.
isCallable ( ) : boolean Returns true if this method is callable.
isCustom ( ) : boolean Returns true if this method is custom.
isStatic ( ) : boolean Returns true if this method is static.
method ( ) : ReflectionFunctionAbstract Get the method.
name ( ) : string Get the name.

Описание методов

__construct() публичный Метод

Construct a new real method definition.
public __construct ( ReflectionMethod $method, string $name )
$method ReflectionMethod The method.
$name string The name.

accessLevel() публичный Метод

Get the access level.
public accessLevel ( ) : string
Результат string The access level.

callback() публичный Метод

Get the callback.
public callback ( ) : callable | null
Результат callable | null The callback, or null if this is a real method.

isCallable() публичный Метод

Returns true if this method is callable.
public isCallable ( ) : boolean
Результат boolean True if this method is callable.

isCustom() публичный Метод

Returns true if this method is custom.
public isCustom ( ) : boolean
Результат boolean True if this method is custom.

isStatic() публичный Метод

Returns true if this method is static.
public isStatic ( ) : boolean
Результат boolean True if this method is static.

method() публичный Метод

Get the method.
public method ( ) : ReflectionFunctionAbstract
Результат ReflectionFunctionAbstract The method.

name() публичный Метод

Get the name.
public name ( ) : string
Результат string The name.