protected final function addBehaviour(Behaviour &$behaviour) { $this->behaviours['behaviour_' . $this->getNextComponentId()] = $behaviour; if ($this->isInitialized()) { $behaviour->bind($this); } }