/** * {@inheritDoc} */ public function getSubId() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSubId', array()); return parent::getSubId(); }
/** * @param Rule $rule * @return Rule */ public function addChildRule(Rule $rule) { if ($this !== $rule->getParentRule()) { $rule->setParentRule($this); } $this->childRules[$rule->getSubId()] = $rule; return $this; }