Back

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