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