public function getNamespace()
    {
        if (is_null($this->_namespace)) {
            $namespace = $this->getConfiguration()
                ->get('router.namespace', 'Controllers');
            if (isset($this->_params['namespace'])) {
                $namespace = $this->_params['namespace'];
            }
            $this->_namespace = trim($namespace, '\\');
        }
        return $this->_namespace;
    }