1 | <?php |
||
9 | final class Application extends BaseApplication |
||
10 | { |
||
11 | /** |
||
12 | * Gets full version name. |
||
13 | * |
||
14 | * @return string |
||
15 | */ |
||
16 | public function getLongVersion() |
||
17 | { |
||
18 | $art = <<<EOL |
||
19 | ___ ___ ___ ___ ___ |
||
20 | /__/\ / /\ / /\ / /\ / /\ |
||
21 | \ \:\ / /:/_ / /::\ / /:/_ / /:/ |
||
22 | \ \:\ / /:/ /\ / /:/\:\ / /:/ /\ / /:/ |
||
23 | ___ \ \:\ / /:/ /::\ / /:/~/:/ / /:/ /:/_ / /:/ ___ |
||
24 | /__/\ \__\:\ /__/:/ /:/\:\ /__/:/ /:/ /__/:/ /:/ /\ /__/:/ / /\ |
||
25 | \ \:\ / /:/ \ \:\/:/~/:/ \ \:\/:/ \ \:\/:/ /:/ \ \:\ / /:/ |
||
26 | \ \:\ /:/ \ \::/ /:/ \ \::/ \ \::/ /:/ \ \:\ /:/ |
||
27 | \ \:\/:/ \__\/ /:/ \ \:\ \ \:\/:/ \ \:\/:/ |
||
28 | \ \::/ /__/:/ \ \:\ \ \::/ \ \::/ |
||
29 | \__\/ \__\/ \__\/ \__\/ \__\/ |
||
30 | EOL; |
||
31 | |||
32 | return sprintf('<info>%s</info>', $art) . PHP_EOL . PHP_EOL . parent::getLongVersion() . ' by <comment>Mike Kamornikov</comment> and <comment>Denis Stiblo</comment>'; |
||
33 | } |
||
34 | |||
35 | public function add(Command $command) |
||
43 | |||
44 | /** |
||
45 | * Defines if it's called from phar. |
||
46 | * |
||
47 | * @return bool |
||
48 | */ |
||
49 | private function isPharContextAllowed() |
||
53 | } |
||
54 |