Only inject logo in help page and not in the app name
parent
cd12df5c1f
commit
1a98d9f705
|
@ -45,13 +45,13 @@ class Application extends BaseApplication
|
||||||
*/
|
*/
|
||||||
protected $io;
|
protected $io;
|
||||||
|
|
||||||
private static $logo = ' ______
|
private static $logo = ' ______
|
||||||
/ ____/___ ____ ___ ____ ____ ________ _____
|
/ ____/___ ____ ___ ____ ____ ________ _____
|
||||||
/ / / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
|
/ / / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
|
||||||
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
|
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
|
||||||
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
|
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
|
||||||
/_/
|
/_/
|
||||||
Composer';
|
';
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
|
@ -65,7 +65,7 @@ Composer';
|
||||||
}
|
}
|
||||||
|
|
||||||
ErrorHandler::register();
|
ErrorHandler::register();
|
||||||
parent::__construct(self::$logo, Composer::VERSION);
|
parent::__construct('Composer', Composer::VERSION);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -158,6 +158,11 @@ Composer';
|
||||||
return $this->io;
|
return $this->io;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getHelp()
|
||||||
|
{
|
||||||
|
return self::$logo . parent::getHelp();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initializes all the composer commands
|
* Initializes all the composer commands
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue