Exemple #1
0
 /**
  * Return the forward configuration for the specified key, if any;
  * otherwise return null.
  *
  * @param string $name Name of the forward configuration to return
  * @return ForwardConfig
  */
 public function findForwardConfig($name)
 {
     $name = (string) $name;
     if (array_key_exists($name, $this->forwards)) {
         return $this->forwards[$name];
     } else {
         return $this->moduleConfig->findForwardConfig($name);
     }
 }