private withArgsInArray ( array $arguments ) : self | ||
$arguments | array | |
return | self |
private function withArgsInArray(array $arguments)
{
if (empty($arguments)) {
return $this->withNoArgs();
}
$this->_expectedArgs = $arguments;
$this->_noArgsExpectation = false;
return $this;
}