Beispiel #1
0
 /**
  * @param	MvcRotueDetailInterface $route
  * @param	MvcContextInterface $context
  * @return	null
  */
 public function kernelExecute(array $params = null, MvcRouteDetailInterface $route, MvcContextInterface $context)
 {
     $context->add('test-a', 'value-a');
     $this->execute($params);
 }
Beispiel #2
0
 /**
  * @param	MvcRotueDetailInterface $route
  * @param	MvcContextInterface $context
  * @return	null
  */
 public function kernelExecute(array $params = null, MvcRouteDetailInterface $route, MvcContextInterface $context)
 {
     $value = $params['test-b'];
     $context->add('test-b', $value);
     $this->execute($params);
 }