Esempio n. 1
0
 /**
  * Remove the specified form bean configuration instance.
  *
  * @param FormBeanConfig $config FormBeanConfig instance to be
  * removed
  * @throws \Phruts\Exception\IllegalStateException - If this module configuration has
  * been frozen
  */
 public function removeFormBeanConfig(\Phruts\Config\FormBeanConfig $config)
 {
     if ($this->configured) {
         throw new \Phruts\Exception\IllegalStateException('Configuration is frozen');
     }
     unset($this->formBeans[$config->getName()]);
 }