src/Charcoal/Cms/Route/GenericRoute.php
protected function getObjectRouteFromPath()
    {
        if ($this->objectRoute === null) {
            $this->objectRoute = $this->loadObjectRouteFromPath();
        }

        return $this->objectRoute;
    }
protected function getObjectRouteFromPath()
    {
        if ($this->objectRoute === null) {
            $this->objectRoute = $this->loadObjectRouteFromPath();
        }

        return $this->objectRoute;
    }
protected function getObjectRouteFromPath ( ) { if ( $ this -> objectRoute === null ) { $ this -> objectRoute = $ this -> loadObjectRouteFromPath ( ) ; } return $ this -> objectRoute ; }
Get the object route matching the URI path.

@return \Charcoal\Object\ObjectRouteInterface
Get the object route matching the URI path .