OOP (course 4): Static methods, Namespaces, Exceptions & Traits! Woh!

0
Language

Level

Beginner

Access

Paid

Certificate

Paid

Unlock the power of OOP with static methods, class constants, namespaces, autoloading, magic functions, and more. Learn how to treat objects like arrays and master exception handling. Discover the benefits of traits and choose between composition and inheritance. Level up your coding skills and witness the impressive results of your newfound knowledge in this comprehensive tutorial.

Add your review

What you’ll be learning

Finally, we can really unload and see all the cool OOP stuff that we haven’t covered yet. These are the last missing pieces that are standing between you and understanding any OO code you meet.

Static methods

Class constants

Namespaces

Autoloading (RIP require statements)

__toString & the other magic functions

Treat that $object[1] like an array (ArrayAccess)

Throwing and catching a baseball Exceptions

Traits! Horizontal code re-use

Composition Versus Inheritance: Dressing your classes for success

Finally, you’re going to start to see some serious pay-off from these new, crazy OO skills you’ve got. In this tutorial, OO is here to impress us. Dig in.

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Be the first to review “OOP (course 4): Static methods, Namespaces, Exceptions & Traits! Woh!”

×

    Your Email (required)

    Report this page
    OOP (course 4): Static methods, Namespaces, Exceptions & Traits! Woh!
    OOP (course 4): Static methods, Namespaces, Exceptions & Traits! Woh!
    LiveTalent.org
    Logo