PHPnews.io

Overview for 'laracasts'


FizzBuzz Kata

Written by Laracasts / Original link on Jan. 22, 2020

Next up is the obligatory FizzBuzz kata, which I think you'll find is quite a bit easier than previous exercises. This is especially true, now that we've built up our TDD chops.View the source code …




Encapsulation

Written by Laracasts / Original link on Jan. 17, 2020

Encapsulation allows a class to provide signals to the outside world that certain internals are private and shouldn't be accessed. So at it's core, encapsulation is about communication.