Fake Path to the file which called ray() #176
-
Is there a way to pass a specific path to the file which I want to associate with the ray call (especially to open it in the IDE) when ray() is called? We have some fancy system where some php code is stored in the database and which is called via eval() via our autoloader, where I'd really love to be able to pass a specific filename to ray to be able to open my specific fake file in the IDE, because right now it's only going to link to the file which contains the autoloader which handles the magic. Something like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Issue resolved. It seems that I can use a custom Payload with an own file_name and line_number declaration for this. |
Beta Was this translation helpful? Give feedback.
Issue resolved. It seems that I can use a custom Payload with an own file_name and line_number declaration for this.