@@ 479-486 (lines=8) @@ | ||
476 | /** |
|
477 | * @internal |
|
478 | */ |
|
479 | protected function getTemplateDir(BundleInterface $bundle) |
|
480 | { |
|
481 | if ($this->isSymfony4()) { |
|
482 | return $this->container->getParameter('kernel.project_dir') . '/templates'; |
|
483 | } |
|
484 | ||
485 | return $bundle->getPath() . '/Resources/views'; |
|
486 | } |
|
487 | ||
488 | /** |
|
489 | * @internal |
|
@@ 491-498 (lines=8) @@ | ||
488 | /** |
|
489 | * @internal |
|
490 | */ |
|
491 | protected function getAssetsDir(BundleInterface $bundle) |
|
492 | { |
|
493 | if ($this->isSymfony4()) { |
|
494 | return $this->container->getParameter('kernel.project_dir') . '/assets'; |
|
495 | } |
|
496 | ||
497 | return $bundle->getPath() . '/Resources'; |
|
498 | } |
|
499 | ||
500 | /** |
|
501 | * @internal |