PHP Attributes 50 Minute Tutorial



PHP Attributes 50 Minute Tutorial

PHP Attributes 50 Minute Tutorial

Dive into PHP attributes as we use them to implement validation rules in a DTO, showcasing a practical and efficient coding approach.

Check out THE FULL COURSE and get the code examples here:
https://www.garyclarke.tech/p/learn-object-oriented-php

🆓 Want more? Join GaryClarkeTech and claim your $39 Git and Github course for FREE here:
https://www.garyclarke.tech

👇 Follow me on Social Media:
Twitter: https://twitter.com/garyclarketech
Linkedin: https://www.linkedin.com/in/garyclarketech

💕Show support:
https://www.paypal.com/donate/?hosted_button_id=YYGDXMG8B6N9N

0:00 Introduction
3:50 Data Transfer Objects
10:05 Readonly Properties and Classes
14:18 Creating Custom Attributes
15:57 Applying Attributes
17:40 Validation Mechanism
26:08 Attributes and Interfaces
34:13 Instantiating Attributes
40:18 Custom Validator Classes
45:40 Get the full course

Comments are closed.