public function getParameter($name, $default = null)
    {
        if (!$this->getContainer()->hasParameter($name)) {
            return $default;
        }

        return $this->getContainer()->getParameter($name);
    }