Eloquent\Phony\Mock\Handle\AbstractHandle::spy PHP Method

spy() public method

Get a spy.
public spy ( string $name ) : Eloquent\Phony\Spy\Spy
$name string The method name.
return Eloquent\Phony\Spy\Spy The spy.
    public function spy($name)
    {
        return $this->stub($name)->spy();
    }