I try to apply the knowledge of design patterns in the trading procedures subject area.
Trading procedure is a tool to choose a winner between goods suppliers.
As an example, we need to buy a computer with a lower price and a better features. What can we do? We can make a trading procedure such as a tender. There is we specify a start price and a list of features. And then we publish this trading procedure. Potential suppliers can view it and send their applications to us. After that we can select the best application, sign contract with the winner supplier and get the computer of our dream.
You should install dependencies with Composer
:
$ composer install
Read more about how to install and use Composer
on your local machine here.
To run tests use:
$ ./vendor/bin/phpunit