Object-Oriented Principles in PHP
Episode 6 - Encapsulation
Laracasts is packed full with over 1,500 lessons just like this one.
Sign up to get full access or
to your account and sit back.
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.
Published on Jan 17th, 2020.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!