PHP Classes

Notable PHP package: Encapsulate PHP Constants in Class

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Viewers: 118

Last month viewers: 3

Categories: Notable Packages

Many classes need to define constant values, so they can have meaningful names for the values that they need to use.

This package makes that task easier by providing a base class that assigns values to constants from an array defined in a sub-class that needs to use those constants.

Read this article to learn more details about how this notable PHP package works.




Loaded Article
The package Encapsulate PHP Constants in Class is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Encapsulate several constants in the same class

Here follows in more detail what it does:

This class can encapsulate several constants in the same class.

It provides a base class that can store constant values in class variable.

Applications should extend this class to allow retrieving all constants defined in an class as an array.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package.



You need to be a registered user or login to post a comment

Login Immediately with your account on:



Comments:

No comments were submitted yet.



  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)