New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get object of vfsStreamFile to get the file content #48
Comments
|
Hm, what do you want to achieve? You can get the file content either via or via |
|
Thank you @mikey179 . That was a great help. I spend sometime to figure it. But I failed to get it also :) . What I was trying to achieve is for Currently we have a Do you have any suggestions for it? |
|
Unfortunately I can't do anything about the realpath issue, it's a limitation of PHP. I would be glad if I could add support for this. The only recommendation I can give is to mock the whole The require should actually work. It may depend on your PHP ini configuration, probably you need to allow including files via vfs:// protocol. |
|
What we did was we changed to |
I have created a directory structure like
Now how can I get the content. I am seeing the
vfsStreamFileclass. But wondering how is the way I can get the object of it from the directory . Didn't noticed any :( .The text was updated successfully, but these errors were encountered: