protected function isPathApplicable(Request $request, $zone)
    {
        $prefix = $this->app["controller.$zone.mount_prefix"];

        return $this->startsWith($request->getPathInfo(), $prefix);
    }
protected function isPathApplicable(Request $request, $zone)
    {
        $prefix = $this->app["controller.$zone.mount_prefix"];

        return $this->startsWith($request->getPathInfo(), $prefix);
    }
protected function isPathApplicable ( Request $ request , $ zone ) { $ prefix = $ this -> app [ "controller.$zone.mount_prefix" ] ; return $ this -> startsWith ( $ request -> getPathInfo ( ) , $ prefix ) ; }
Check is a request applies to a zone.

@param Request $request
@param string  $zone

@return bool
Check is a request applies to a zone .