| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | public static function createRootUrlWebLibrary(ContainerInterface $container): InlineWebLibrary |
||
| 38 | { |
||
| 39 | $scope = new self(); |
||
| 40 | $scope->rootUrl = $container->get('ROOT_URL'); |
||
| 41 | |||
| 42 | $webLibrarayManagerDir = \ComposerLocator::getPath('mouf/html.utils.weblibrarymanager'); |
||
| 43 | $htmlFromFile = new HtmlFromFile($webLibrarayManagerDir.'/javascript/rootUrl.php', $scope); |
||
| 44 | return new InlineWebLibrary($htmlFromFile); |
||
| 45 | } |
||
| 46 | |||
| 57 |