1 | <?php |
||
11 | class Application extends BaseApplication |
||
12 | { |
||
13 | |||
14 | const MESSAGE_NAME = "Automatic deploy tool"; |
||
15 | const MESSAGE_UPDATE = "New release available. Please execute"; |
||
16 | |||
17 | private static $logo = " |
||
18 | .----------------. .----------------. .----------------. |
||
19 | | .--------------. || .--------------. || .--------------. | |
||
20 | | | ________ | || | _________ | || | ______ | | |
||
21 | | | |_ ___ `. | || | |_ ___ | | || | |_ __ \\ | | |
||
22 | | | | | `. \\ | || | | |_ \\_| | || | | |__) | | | |
||
23 | | | | | | | | || | | _| _ | || | | ___/ | | |
||
24 | | | _| |___.' / | || | _| |___/ | | || | _| |_ | | |
||
25 | | | |________.' | || | |_________| | || | |_____| | | |
||
26 | | | | || | | || | | | |
||
27 | | '--------------' || '-------------- ' || '--------------' | |
||
28 | '----------------' '----------------' '----------------' |
||
29 | "; |
||
30 | |||
31 | private $applicationService; |
||
32 | |||
33 | private $gitHubService; |
||
34 | |||
35 | public function __construct(ApplicationService $applicationService, GitHubService $gitHubService) |
||
42 | |||
43 | public function getHelp() |
||
47 | |||
48 | public function getLongVersion() |
||
62 | } |