Method Chaining in PHP with PHPUnit test
What is method chaining
Method chaining is where you can call multiple methods after one another in one line like so
$methodChain->addHelloToChain()->addSpaceToChain()->addThereToChain()->getOutputOfChain();
Let's write some code
Setup an initial cla...
blog.azcodez.com2 min read