/LoadConfigExtension

Simple load yaml config extension for Silex

Primary LanguagePHP

	$app->register(new Tyaga\Extension\LoadConfigExtension(), array(
		'loadconfig.load' => array(
			'database' => __DIR__ . '/config/database.yml',
		)
	));

Then you can use:

	$app['config']['database']