1
0
Fork 0

Only inject logo in help page and not in the app name

pull/1455/head
Jordi Boggiano 2013-01-05 18:33:29 +01:00
parent cd12df5c1f
commit 1a98d9f705
1 changed files with 11 additions and 6 deletions

View File

@ -45,13 +45,13 @@ class Application extends BaseApplication
*/
protected $io;
private static $logo = ' ______
private static $logo = ' ______
/ ____/___ ____ ___ ____ ____ ________ _____
/ / / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
/_/
Composer';
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
/_/
';
public function __construct()
{
@ -65,7 +65,7 @@ Composer';
}
ErrorHandler::register();
parent::__construct(self::$logo, Composer::VERSION);
parent::__construct('Composer', Composer::VERSION);
}
/**
@ -158,6 +158,11 @@ Composer';
return $this->io;
}
public function getHelp()
{
return self::$logo . parent::getHelp();
}
/**
* Initializes all the composer commands
*/