Ejemplo n.º 1
0
 /**
  * Constructor
  *
  * @param  string|array|\Zend\Config\Config $spec Element name or configuration
  * @param  string|array|\Zend\Config\Config $options Element value or configuration
  * @return void
  */
 public function __construct($spec, $options = null)
 {
     if (is_string($spec) && (null !== $options && is_string($options))) {
         $options = array('label' => $options);
     }
     parent::__construct($spec, $options);
 }