AboutCommand example

$this->fs->chmod($kernel->getCacheDir().'/unreadable_file', 0777);

        try {
            $this->fs->remove($kernel->getProjectDir());
        } catch (IOException $e) {
        }
    }

    private function createCommandTester(TestAppKernel $kernel): CommandTester
    {
        $application = new Application($kernel);
        $application->add(new AboutCommand());

        return new CommandTester($application->find('about'));
    }
}
Home | Imprint | This part of the site doesn't use cookies.