Пример #1
0
 /**
  * Construct the object
  *
  * @param ConfigInterface $config The configuration
  * @param string $name The identifier for the class
  */
 public function __construct(ConfigInterface $config, $name)
 {
     parent::__construct($config, $name, null);
     $this->members = array();
     $this->baseType = null;
     $this->abstract = false;
 }
Пример #2
0
 /**
  * Construct the object
  *
  * @param ConfigInterface $config The configuration
  * @param string $name The identifier for the class
  * @param string $restriction The restriction(datatype) of the values
  */
 public function __construct(ConfigInterface $config, $name, $restriction)
 {
     parent::__construct($config, $name, $restriction);
     $this->values = array();
 }