public function addNamespace($string)
    {
        if (is_array($string)) {
            foreach ($string as &$str) {
                $str = $this->addNamespace($str);
            }

            return $string;
        }

        if (strpos($string, $this->namespace) !== 0) {
            $string = $this->namespace . $string;
        }

        return $string;
    }