public function StateMachine::__construct in State Machine 6
Same name and namespace in other branches
- 7.3 inc/base.inc \StateMachine::__construct()
- 7 inc/base.inc \StateMachine::__construct()
- 7.2 inc/base.inc \StateMachine::__construct()
File
- inc/
base.inc, line 10
Class
Code
public function __construct($object = NULL) {
$this->object = $object;
$this
->init();
$this
->set_current_state((string) $this
->load());
}