public function getUri($withBaseUrl = false)
    {
        $prefix = $withBaseUrl ? $this->getBaseUrl() : '';
        $uri = $prefix . $this->uri;
        $uri = '/' . ltrim($uri, '/');
        return $uri;
    }