protected function loadConfiguration($configFile)
{
$this->stdout("Loading configuration from '{$configFile}'...\n");
foreach (require $configFile as $name => $value) {
if (property_exists($this, $name) || $this->canSetProperty($name)) {
$this->{$name} = $value;
} else {
throw new Exception("Unknown configuration option: {$name}");
}
}
$this->getAssetManager();
// check if asset manager configuration is correct
}