: This refers to hiding an object's internal state and implementation details. By restricting direct access to components, developers improve the public API and ensure data integrity. Inheritance
: Explore when to share behavior through class hierarchies and when to favor "has-a" relationships via object composition. Interfaces & Abstract Classes object-oriented principles in php laracasts download
public function getName() return $this->name; : This refers to hiding an object's internal