We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Scenario:
I want to create a file inside a folder: $I->writeToFile('/var/www/foo/foo.php', '');
$I->writeToFile('/var/www/foo/foo.php', '');
This will fail because the folder foo does not exist.
foo
Now I have to create the folder recursively and keep track of it for deletion.
public function writeToFile($filename, $contents) { file_put_contents($filename, $contents); }
This issue is a feature request to make that method more robust, using perhaps Symfony Filesystem to recursively create the directory. Eg: https://symfony.com/doc/current/components/filesystem.html#mkdir
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Scenario:
I want to create a file inside a folder:
$I->writeToFile('/var/www/foo/foo.php', '');
This will fail because the folder
foo
does not exist.Now I have to create the folder recursively and keep track of it for deletion.
This issue is a feature request to make that method more robust, using perhaps Symfony Filesystem to recursively create the directory. Eg: https://symfony.com/doc/current/components/filesystem.html#mkdir
The text was updated successfully, but these errors were encountered: