setConfig() public method

Override the application config.
public setConfig ( array $config )
$config array
 /**
  * Test the special case of HHVM toolstack types being the same as PHP.
  */
 public function testToolstackAliasHhvm()
 {
     $toolstackClassName = self::TOOLSTACK_NAMESPACE . 'Symfony';
     $appRoot = 'tests/data/apps/vanilla';
     $app = new LocalApplication($appRoot);
     $app->setConfig(['type' => 'hhvm:3.7', 'build' => ['flavor' => 'symfony']]);
     $toolstack = $app->getToolstack();
     $this->assertInstanceOf($toolstackClassName, $toolstack, 'Detect HHVM Symfony app from config');
 }