public function getByName($name)
    {
        $name = (string) $name;

        if (substr($name, 0, 1) !== ':') {
            $name = ':' . $name;
        }

        if (!isset($this->parametersByName[$name])) {
            throw new \Exception('Parameter is not defined !');
        }

        return $this->parametersByName[$name];
    }