abstract public function __construct(Request $request, $relativeCmsUri, CmsComponent $cmsComponent);

    /**
     * @param Request $request
     * @param string $relativeCmsUri
     * @param CmsComponent $cmsComponent
     * @throws \Exception
     */
    protected function doRouting($request, $relativeCmsUri, $cmsComponent)
    {
        if (array_key_exists($relativeCmsUri, $this::$routes)) {
            $method = $this::$routes[$relativeCmsUri];
            $this->$method($request, $cmsComponent);
        }
    }
abstract public function __construct(Request $request, $relativeCmsUri, CmsComponent $cmsComponent);

    /**
     * @param Request $request
     * @param string $relativeCmsUri
     * @param CmsComponent $cmsComponent
     * @throws \Exception
     */
    protected function doRouting($request, $relativeCmsUri, $cmsComponent)
    {
        if (array_key_exists($relativeCmsUri, $this::$routes)) {
            $method = $this::$routes[$relativeCmsUri];
            $this->$method($request, $cmsComponent);
        }
    }
abstract public function __construct ( Request $ request , $ relativeCmsUri , CmsComponent $ cmsComponent ) ; /**
     * @param Request $request
     * @param string $relativeCmsUri
     * @param CmsComponent $cmsComponent
     * @throws \Exception
     */ protected function doRouting ( $ request , $ relativeCmsUri , $ cmsComponent ) { if ( array_key_exists ( $ relativeCmsUri , $ this :: $ routes ) ) { $ method = $ this :: $ routes [ $ relativeCmsUri ] ; $ this -> $ method ( $ request , $ cmsComponent ) ; } }
CmsRouting constructor.

@param Request $request
@param string $relativeCmsUri
@param CmsComponent $cmsComponent
CmsRouting constructor .