| Total Complexity | 4 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 4 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 27 | class WBWJQueryDataTablesBundle extends Bundle implements AssetsProviderInterface { |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Translation domain. |
||
| 31 | * |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | const TRANSLATION_DOMAIN = "WBWJQueryDataTablesBundle"; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | public function build(ContainerBuilder $container): void { |
||
| 40 | $container->addCompilerPass(new DataTablesProviderCompilerPass()); |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | public function getAssetsRelativeDirectory(): string { |
||
| 47 | return self::ASSETS_RELATIVE_DIRECTORY; |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * {@inheritdoc} |
||
| 52 | */ |
||
| 53 | public function getContainerExtension(): Extension { |
||
| 54 | return new WBWJQueryDataTablesExtension(); |
||
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * Get the translation domain. |
||
| 59 | * |
||
| 60 | * @return string Returns the translation domain. |
||
| 61 | */ |
||
| 62 | public static function getTranslationDomain(): string { |
||
| 64 | } |
||
| 65 | } |
||
| 66 |