public function get($key)
{
return isset($this->elements[$key]) ? $this->elements[$key] : null;
}
public function getParameter($parameter) { if (!$this->configs instanceof ArrayCollection) { $this->generateConfigs($file = 'parameters.yml', null, false); } return $this->configs->get($parameter); }