Installation
$ git clone https://github.com/viktigpetterr/bellan.git
$ cd bellan
$ composer install
How to add a restaurant
- Create a restaurant class that extends
Restaurant.php
insrc/Restaurant
. - Implement the functions
parse()
and__toString()
. - Create a test class that extends
RestaurantTest.php
intests/Restaurant
. - Implement the test functions
testParse()
andtestToString()
. Add a static test file intests/static
if needed.
Run tests
$ composer test