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

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

This method supports reference parameters. Note that all supplied callbacks will be called in the same invocation.
public callsWith ( callable $callback, Arguments | array $arguments = [], boolean | null $prefixSelf = null, boolean $suffixArgumentsObject = false, boolean $suffixArguments = true )
$callback callable The callback.
$arguments Eloquent\Phony\Call\Arguments | array The arguments.
$prefixSelf boolean | null 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 callsWith($callback, $arguments = array(), $prefixSelf = null, $suffixArgumentsObject = false, $suffixArguments = true);