/** * Process an include requested by this mapping (if any). * * Return true if standard processing should continue, or false if we have * already handled this request. * * @param \Symfony\Component\HttpFoundation\Request $request The kernel request we are * processing * @param \Symfony\Component\HttpFoundation\Response $response The kernel response we are * creating * @param \Phruts\Action\ActionMapping $mapping The \Phruts\Config\ActionConfig we are using * @return boolean */ protected function processInclude(\Symfony\Component\HttpFoundation\Request $request, \Symfony\Component\HttpFoundation\Response $response, \Phruts\Action\ActionMapping $mapping) { // Are we going to processing this request? $include = $mapping->getInclude(); if (!trim($include)) { return true; } // Delegate the processing of this request if (!empty($this->log)) { $this->log->debug(' Delegating via include to "' . $include . '"'); } $this->doInclude($include, $request, $response); return false; }