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