Eloquent\Phony\Stub\Stub::callsArgumentWith PHP Метод

callsArgumentWith() публичный Метод

Negative indices are offset from the end of the list. That is, -1 indicates the last element, and -2 indicates the second last element. Note that all supplied callbacks will be called in the same invocation.
public callsArgumentWith ( integer $index, Arguments | array $arguments = [], boolean $prefixSelf = false, boolean $suffixArgumentsObject = false, boolean $suffixArguments = true )
$index integer The argument index.
$arguments Eloquent\Phony\Call\Arguments | array The arguments.
$prefixSelf boolean True if the self value should be prefixed.
$suffixArgumentsObject boolean True if the arguments object should be appended.
$suffixArguments boolean True if the arguments should be appended individually.
    public function callsArgumentWith($index = 0, $arguments = array(), $prefixSelf = false, $suffixArgumentsObject = false, $suffixArguments = true);