public callsArgument ( integer $index ) | ||
$index | integer | The argument index. |
public function callsArgument($index = 0)
{
if ($arguments = func_get_args()) {
foreach ($arguments as $index) {
$this->callsArgumentWith($index);
}
} else {
$this->callsArgumentWith(0);
}
return $this;
}