/**
* Creates a new console application.
*
* @param string $name The name of the application.
* @param string $version The application version.
*/
public function __construct($name = null, $version = null)
{
$this->name = $name;
$this->version = $version;
parent::__construct();
}