public function __construct(StateWorkflow $stateWorkflow) { $stateWorkflow->getDefaultState()->initialize($this); }