schmittjoh/JMSDiExtraBundle — pull request #74 by lsmith77 (2012-11-24 13:09:21+00:00)
Title: [WIP] added a way to black list file via the app config or via a Bundle class

just a quick PR to check if we agree on the general direction for this fix for #63
the idea is to configure a black list of files that should be skipped when searching for Controllers in the cache warmer.

via app config:

```
jms_di_extra:
controller_file_blacklist:
- "/Users/lsmith/htdocs/symfony-standard/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/InternalController.php"
- "%kernel.root_dir%/../vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php"
```

via a Bundle class:
```
public function build(ContainerBuilder $container)
{
parent::build($container);

$container->getExtension('jms_di_extra')->blackListControllerFile('/Users/lsmith/htdocs/symfony-standard/vendor/liip/hello-bundle/Liip/HelloBundle/Controller/ArticleController.php');
}
```