PHP Interface Eloquent\Phony\Mock\Builder\Method\MethodDefinition

Afficher le fichier Open project: eloquent/phony

Méthodes publiques

Méthode Description
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.

Method Details

accessLevel() public méthode

Get the access level.
public accessLevel ( ) : string
Résultat string The access level.

callback() public méthode

Get the callback.
public callback ( ) : callable | null
Résultat callable | null The callback, or null if this is a real method.

isCallable() public méthode

Returns true if this method is callable.
public isCallable ( ) : boolean
Résultat boolean True if this method is callable.

isCustom() public méthode

Returns true if this method is custom.
public isCustom ( ) : boolean
Résultat boolean True if this method is custom.

isStatic() public méthode

Returns true if this method is static.
public isStatic ( ) : boolean
Résultat boolean True if this method is static.

method() public méthode

Get the method.
public method ( ) : ReflectionFunctionAbstract
Résultat ReflectionFunctionAbstract The method.

name() public méthode

Get the name.
public name ( ) : string
Résultat string The name.