File manager - Edit - /usr/local/prospamfilter/vendor/codeception/codeception/src/Codeception/Command/Clean.php
Back
<?php namespace Codeception\Command; use Codeception\Configuration; use Codeception\Util\FileSystem; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; /** * Cleans `output` directory * * * `codecept clean` * * `codecept clean -c path/to/project` * */ class Clean extends Command { use Shared\Config; public function getDescription() { return 'Cleans or creates _output directory'; } protected function configure() { } protected function execute(InputInterface $input, OutputInterface $output) { $this->getGlobalConfig($input->getOption('config')); $output->writeln("<info>Cleaning up " . Configuration::outputDir() . "...</info>"); FileSystem::doEmptyDir(Configuration::outputDir()); $output->writeln("Done"); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings