File tree 2 files changed +9
-1
lines changed
src/Symfony/Component/HttpKernel
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public function __construct(Kernel $kernel)
36
36
*/
37
37
public function process (ContainerBuilder $ container )
38
38
{
39
- $ annotatedClasses = array ();
39
+ $ annotatedClasses = $ this -> kernel -> getAnnotatedClassesToCompile ();
40
40
foreach ($ container ->getExtensions () as $ extension ) {
41
41
if ($ extension instanceof Extension) {
42
42
$ annotatedClasses = array_merge ($ annotatedClasses , $ extension ->getAnnotatedClassesToCompile ());
Original file line number Diff line number Diff line change @@ -391,6 +391,14 @@ public function getCharset()
391
391
return 'UTF-8 ' ;
392
392
}
393
393
394
+ /**
395
+ * Gets the patterns defining the classes to parse and cache for annotations.
396
+ */
397
+ public function getAnnotatedClassesToCompile (): array
398
+ {
399
+ return array ();
400
+ }
401
+
394
402
/**
395
403
* Initializes bundles.
396
404
*
You can’t perform that action at this time.
0 commit comments