PHP Class Eloquent\Phony\Reflection\PhpFunctionSignatureInspector

Inheritance: extends FunctionSignatureInspector
Datei anzeigen Open project: eloquent/phony

Public Methods

Method Description
__construct ( InvocableInspector $invocableInspector, FeatureDetector $featureDetector ) Construct a new function signature inspector.
signature ( ReflectionFunctionAbstract $function ) : array>\array Get the function signature of the supplied function.

Method Details

__construct() public method

Construct a new function signature inspector.
public __construct ( InvocableInspector $invocableInspector, FeatureDetector $featureDetector )
$invocableInspector Eloquent\Phony\Invocation\InvocableInspector The invocable inspector to use.
$featureDetector FeatureDetector The feature detector to use.

signature() public method

Get the function signature of the supplied function.
public signature ( ReflectionFunctionAbstract $function ) : array>\array
$function ReflectionFunctionAbstract The function.
return array>\array