0

Scope of defined constants visibility

In my project I have MVC architecture and in class Application I define some constants like AUTH and AUTH_ID.

I can use this constants in other files - controllers, etc, IDE recognizes them as defined constants and I can move to constant declaration by pressing Ctrl+B, but in files outside Application.php (where my class defined, where constants defined)   I do not have them in suggestion list.

So my question is: Is there any way to get my constants throughout all project in suggestion list?



Attachment(s):
controller.jpg
application.jpg

5 comments

Please sign in to leave a comment.