protected function inject_custom_parameters() { if ($this->custom_parameters !== null) { foreach ($this->custom_parameters as $key => $value) { $this->container->setParameter($key, $value); } } }