Skip to content
This repository has been archived by the owner on Jan 20, 2021. It is now read-only.

Latest commit

 

History

History
26 lines (18 loc) · 782 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 782 Bytes

99 Bottles: Laravel Tests & Implementation

"99 Bottles of OOP" is a practical guide to writing cost-effective, maintainable, and pleasing object-oriented code.

https://www.sandimetz.com/99bottles
https://www.goodreads.com/book/show/31183020-99-bottles-of-oop

This repo has adapted the book's Ruby tests & implementation to PHP, within the context of the Laravel framework.

Tests:

/tests/Unit/BottlesTest.php

Final implementation:

/app/Bottles.php
/app/BottleNumber.php
/app/BottleNumber0.php
/app/BottleNumber1.php
/app/BottleNumber6.php

"99 Bottles of OOP" was a fantastic learning resource and I highly recommend it. All killer, no filler!