Eloquent\Phony\Mock\Method\WrappedCustomMethod::__construct PHP Method

__construct() public method

Construct a new wrapped custom method.
public __construct ( callable $customCallback, ReflectionMethod $method, Eloquent\Phony\Mock\Handle\Handle $handle, Invoker $invoker )
$customCallback callable The custom callback.
$method ReflectionMethod The method.
$handle Eloquent\Phony\Mock\Handle\Handle The handle.
$invoker Eloquent\Phony\Invocation\Invoker The invoker to use.
    public function __construct($customCallback, ReflectionMethod $method, Handle $handle, Invoker $invoker)
    {
        $this->customCallback = $customCallback;
        $this->invoker = $invoker;
        parent::__construct($method, $handle);
    }