Ongoing gaining more knowledge about OOP in PHP through laracasts.com/series/object-oriented-principles-in-php-2024-edition



📕 Class like a blueprint or concept of something which typically named as singular noun, such as `Student`, `TuitionFee`. It have properties and methods.

📕 Object is instance of a class or implementation of a blueprint.

📕 Constructor property promotion, less code for defining and assigning value inside constructor.

📕 DTO or Data Transfer Object as a class that carry data and define the structure of data that can be used as parameter.

77

  • No matching results...
  • Searching...

/ 1000