DEV Community

Cover image for `final` keyword with PHP πŸš€
Pierre-Henry Soria ✨
Pierre-Henry Soria ✨

Posted on β€’ Edited on

3 2

`final` keyword with PHP πŸš€

Let's learn about the PHP final keyword in object-oriented PHP 🐘

πŸ€– GitHub: https://github.com/pH-7


πŸ‘‰ If you wish to learn more about PHP and build a real-world PHP Web application, I've published a Udemy course teaching you, set-by-step: https://www.udemy.com/course/create-real-world-php-webapp-from-scratch/

Top comments (1)

Collapse
 
pierre profile image
Pierre-Henry Soria ✨ β€’ β€’ Edited

What about you? How often are you declaring your classes as final in PHP? In what contexts are you using it the most?

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs