Shell.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Bundle\FrameworkBundle\Console;
  11. use Symfony\Component\Console\Shell as BaseShell;
  12. /**
  13. * Shell.
  14. *
  15. * @deprecated since version 2.8, to be removed in 3.0.
  16. *
  17. * @author Fabien Potencier <fabien@symfony.com>
  18. */
  19. class Shell extends BaseShell
  20. {
  21. /**
  22. * Returns the shell header.
  23. *
  24. * @return string The header string
  25. */
  26. protected function getHeader()
  27. {
  28. return <<<EOF
  29. <info>
  30. _____ __
  31. / ____| / _|
  32. | (___ _ _ _ __ ___ | |_ ___ _ __ _ _
  33. \___ \| | | | '_ ` _ \| _/ _ \| '_ \| | | |
  34. ____) | |_| | | | | | | || (_) | | | | |_| |
  35. |_____/ \__, |_| |_| |_|_| \___/|_| |_|\__, |
  36. __/ | __/ |
  37. |___/ |___/
  38. </info>
  39. EOF
  40. .parent::getHeader();
  41. }
  42. }