Eloquent\Phony\Mock\Handle\Handle::stub PHP Method

stub() public method

Get a stub verifier.
public stub ( string $name, boolean $isNewRule = true ) : StubVerifier
$name string The method name.
$isNewRule boolean True if a new rule should be started.
return Eloquent\Phony\Stub\StubVerifier The stub verifier.
    public function stub($name, $isNewRule = true);