/var/www/vhosts/ihelp.ro/httpdocs/vendor/psy/psysh/src/Command
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/psy/psysh/src/Command/ClearCommand.php (1128B)
setName('clear')
->setDefinition([])
->setDescription('Clear the Psy Shell screen.')
->setHelp(
<<<'HELP'
Clear the Psy Shell screen.
Pro Tip: If your PHP has readline support, you should be able to use ctrl+l too!
HELP
);
}
/**
* {@inheritdoc}
*
* @return int 0 if everything went fine, or an exit code
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
$output->write(\sprintf('%c[2J%c[0;0f', 27, 27));
return 0;
}
}