/** * For developper use only * */ protected function init_to_with_store() { $this->to = new ZoneRuleContainer($this); $this->to->setName('to'); }
public function copy(ZoneRuleContainer $other) { if ($other->count() == 0 && $this->count() != 0) { $this->removeAll(); } foreach ($other->o as $member) { $this->addZone($member); } }