Ejemplo n.º 1
0
 protected function changeState($state)
 {
     $callbacks = $this->scope->getCallbacks($state);
     foreach ($callbacks as $callback) {
         $this->executeCallback($callback);
     }
 }