src/Charcoal/Cms/Service/Loader/SectionLoader.php
public function resolveRoute($route)
    {
        $routes = $this->sectionRoutes();
        $sId = $this->resolveSectionId($route);

        if (!isset($routes['sections'][$sId])) {
            return '';
        }

        return $routes['sections'][$sId];
    }
public function resolveRoute($route)
    {
        $routes = $this->sectionRoutes();
        $sId = $this->resolveSectionId($route);

        if (!isset($routes['sections'][$sId])) {
            return '';
        }

        return $routes['sections'][$sId];
    }
public function resolveRoute ( $ route ) { $ routes = $ this -> sectionRoutes ( ) ; $ sId = $ this -> resolveSectionId ( $ route ) ; if ( ! isset ( $ routes [ 'sections' ] [ $ sId ] ) ) { return '' ; } return $ routes [ 'sections' ] [ $ sId ] ; }
Resolve latest route from route slug.
@param  string $route The route to resolve.
@return string
Resolve latest route from route slug .