There are few reasons why you have to have sensitive information inside a class, but the one in the top of these reasons is because many hosting services does not allow you to have access to your root folder or even to your php.ini file. This is a big problem specially if you have a […]
Tag: variables
There are many ways that you can control how variables are accessed in your Class. The most common is using Constants but the problem is that constants are public an can be accessed using: echo FOO::CONSTANT; Let say you want to have more control of your variables. One way you can do this is a […]