Skip to content

Instantly share code, notes, and snippets.

@jsifalda
Created May 16, 2014 12:33
Show Gist options
  • Save jsifalda/59cd5a0c6f8a05e49ffa to your computer and use it in GitHub Desktop.
Save jsifalda/59cd5a0c6f8a05e49ffa to your computer and use it in GitHub Desktop.
<?php
class AppExtension extends CompilerExtension implements Flame\Modules\Providers\IParametersProvider
{
/**
* Return array of parameters,
* which you want to add into DIC
*
* @example return array('images' => 'path/to/folder/with/images');
* @return array
*/
public function getParameters()
{
return array(
'images' => '%wwwDir%/path/to/folder/with/images',
'consoleMode' => true,
'appDir' => 'aa'
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment