You are here

public function StateMachine_Test::log_callback in State Machine 6

Same name and namespace in other branches
  1. 7.3 tests/state_machine.test \StateMachine_Test::log_callback()
  2. 7 tests/state_machine.test \StateMachine_Test::log_callback()
  3. 7.2 tests/state_machine.test \StateMachine_Test::log_callback()
5 calls to StateMachine_Test::log_callback()
StateMachine_Test::log_after_transition in tests/state_machine.test
StateMachine_Test::log_before_transition in tests/state_machine.test
StateMachine_Test::log_on_enter in tests/state_machine.test
StateMachine_Test::log_on_exit in tests/state_machine.test
StateMachine_Test::log_on_guard in tests/state_machine.test

File

tests/state_machine.test, line 57

Class

StateMachine_Test

Code

public function log_callback($callback) {
  $this->logs[] = $callback;
}