/var/www/vhosts/ihelp.ro/httpdocs/vendor/robmorgan/phinx/src/Phinx/Console
NameSizeModeActions
Command/-0755rm
PhinxApplication.php22040644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/robmorgan/phinx/src/Phinx/Console/PhinxApplication.php (2204B)
*/ class PhinxApplication extends Application { /** * Initialize the Phinx console application. */ public function __construct() { parent::__construct('Phinx by CakePHP - https://phinx.org.'); $this->addCommands([ new Init(), new Create(), new Migrate(), new Rollback(), new Status(), new Breakpoint(), new Test(), new SeedCreate(), new SeedRun(), new ListAliases(), ]); } /** * Runs the current application. * * @param \Symfony\Component\Console\Input\InputInterface $input An Input instance * @param \Symfony\Component\Console\Output\OutputInterface $output An Output instance * @return int 0 if everything went fine, or an error code */ public function doRun(InputInterface $input, OutputInterface $output): int { // always show the version information except when the user invokes the help // command as that already does it if ($input->hasParameterOption('--no-info') === false) { if (($input->hasParameterOption(['--help', '-h']) !== false) || ($input->getFirstArgument() !== null && $input->getFirstArgument() !== 'list')) { $output->writeln($this->getLongVersion()); $output->writeln(''); } } return parent::doRun($input, $output); } }