public function getFullUrl($path)
    {
        if (0 === strpos($path, 'http') || 0 === strpos($path, 'mailto:') || 0 === strpos($path, '#')) {
            return $path;
        }
        $router = $this->get('router');
        if ('/' != $path[0]) {
            $path = '/'.$path;
        }
        $baseUrl = $router->getContext()->getBaseUrl();
        if ($baseUrl && '/' != $baseUrl[0]) {
            $baseUrl = '/'.$baseUrl;
        }

        return $router->getContext()->getScheme().'://'.$router->getContext()->getHost().$baseUrl.$path;
    }