public function setConfiguration(array $configuration) { $this->configuration = $configuration + $this ->defaultConfiguration(); }