public addOptions ( array $options ) : |
||
$options | array | |
return |
public function addOptions($options)
{
if (!is_array($options)) {
throw new \InvalidArgumentException("options must be an array");
}
$this->options = $options + $this->options;
return $this;
}