Webmozart\Console\Api\Application\Application::getConfig PHP Method

getConfig() public method

Returns the application configuration.
public getConfig ( ) : ApplicationConfig
return Webmozart\Console\Api\Config\ApplicationConfig The application configuration.
    public function getConfig();

Usage Example

 public static function setUpBeforeClass()
 {
     while (false === @mkdir(self::$tempDir = sys_get_temp_dir() . '/puli-cli/AbstractCommandHandlerTest' . rand(10000, 99999), 0777, true)) {
     }
     self::$application = new ConsoleApplication(new PuliApplicationConfig(new Puli(self::$tempDir)));
     self::$formatter = new PlainFormatter(self::$application->getConfig()->getStyleSet());
 }
All Usage Examples Of Webmozart\Console\Api\Application\Application::getConfig