$this->share('aspect.annotation.reader', function (Container $container) {
$options = $container->get('kernel.options');
$reader = new AnnotationReader();
if (!empty($options['cacheDir'])) {
$reader = new FileCacheReader(
$reader,
$options['cacheDir'] . DIRECTORY_SEPARATOR . '_annotations' . DIRECTORY_SEPARATOR,
$options['debug']
);
}
in src/Core/GoAspectContainer.php, line 91
Posted from SensioLabsInsight