How to encapsulate a file include?

Digz29

New Member
If I have a class that includes a file with a constant like so:\[code\]define("FOO", "bar");\[/code\]Is there a way to make the class include the file with encapsulation so if I use the class somewhere that already has a \[code\]FOO\[/code\] constant defined it won't break?
 
Back
Top