public function getUrl() {
        $config     = $this->getConfig();
        $baseUrl    = $this->isReadOnly()
            ? $config->getReadBaseUrl()
            : $config->getWriteBaseUrl()
        ;
        $index      = $config->getIndex();
        $path       = $this->getPath();

        $url        = $baseUrl . '/' . $index . $path;

        return $url;
    }