How to track file required/included inside class method?
If you require/include .php file inside class method, this file is not inspected properly: $this and static:: are not recognized etc.
Would be nice to use any @xxxx phpdoc to tell PHPStorm that this is actually the inner code of certain class.
May be the solution already exists?
Please sign in to leave a comment.
Hi there,
You can redefine $this in such include (e.g. used in a view/template files)... but not static::