class MacroScanner

Methods

bool
hasMethod(string$className,string$methodName)

Return true if the given pair class-method is a Carbon macro.

getMethod(string$className,string$methodName)

Return the Macro for a given pair class-method.

Details

at line30
bool hasMethod(string$className,string$methodName)

Return true if the given pair class-method is a Carbon macro.

Parameters

string $className
string $methodName

Return Value

bool

at line49
Macro getMethod(string$className,string$methodName)

Return the Macro for a given pair class-method.

Parameters

string $className
string $methodName

Return Value

Macro

Exceptions

ReflectionException