Eloquent\Phony\Invocation\InvocableInspector::__construct PHP Method

__construct() public method

Construct a new invocable inspector.
public __construct ( )
    public function __construct()
    {
        $reflectorReflector = new ReflectionClass('ReflectionFunction');
        $this->isBoundClosureSupported = $reflectorReflector->hasMethod('getClosureThis');
        $this->isReturnTypeSupported = $reflectorReflector->hasMethod('getReturnType');
    }