public function __construct($id, Garp_Spawn_Config_Storage_Interface $storage, Garp_Spawn_Config_Format_Interface $format) { parent::__construct($id, $storage, $format); $this->_addIdField(); $this->_addDefaultBehaviors(); $validator = new Garp_Spawn_Config_Validator_Model_Base(); $validator->validate($this); }
public function __construct($id, Garp_Spawn_Config_Storage_Interface $storage, Garp_Spawn_Config_Format_Interface $format) { parent::__construct($id, $storage, $format); $validator = new Garp_Spawn_Config_Validator_Model_Binding(); $validator->validate($this); }