setState(new OrderDone()); } public function toString(): string { return 'shipped'; } }