Skip to content
Snippets Groups Projects
Commit 36a54028 authored by Jan Kuchař's avatar Jan Kuchař
Browse files

rename README.md -> readme.md

parent 104f994e
No related branches found
No related tags found
1 merge request!15Docs update
......@@ -22,7 +22,7 @@ All logic has been kept in `OrderService`. We still need to handle cas when some
[source code](refactoring-3.phpt)
Here I have moved `OrderService::canDoTransition()` method into enum itself.
Here I have moved `OrderService::canDoTransition()` method into enum itself.
Nice thing is that we do not need anymore external service for asking `OrderState`-related questions.
......@@ -39,7 +39,7 @@ When there is behaviour same for all values of enum, it can be safely placed on
[source code](refactoring-5.phpt)
Now, new domain requirement:
> I would like to remove person who has been assigned to work on order, when order changes state to cancelled or finished.
1. I have rewritten each value as separate class (as behaviour is different for different values)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment