Spaces:
No application file
No application file
Download plugins/GrapesJsBuilderBundle/DependencyInjection/GrapesJsBuilderExtension.php from chrisbryan17/mautic: direct link, hf CLI and curl.
- Browser
- Download file 645 Bytes
-
https://huggingface.co/spaces/chrisbryan17/mautic/resolve/main/plugins/GrapesJsBuilderBundle/DependencyInjection/GrapesJsBuilderExtension.php
- Command line
-
hf download hf://spaces/chrisbryan17/mautic/plugins/GrapesJsBuilderBundle/DependencyInjection/GrapesJsBuilderExtension.php
-
curl -L -o GrapesJsBuilderExtension.php https://huggingface.co/spaces/chrisbryan17/mautic/resolve/main/plugins/GrapesJsBuilderBundle/DependencyInjection/GrapesJsBuilderExtension.php
645 Bytes
| declare(strict_types=1); | |
| namespace MauticPlugin\GrapesJsBuilderBundle\DependencyInjection; | |
| use Symfony\Component\Config\FileLocator; | |
| use Symfony\Component\DependencyInjection\ContainerBuilder; | |
| use Symfony\Component\DependencyInjection\Extension\Extension; | |
| use Symfony\Component\DependencyInjection\Loader\PhpFileLoader; | |
| class GrapesJsBuilderExtension extends Extension | |
| { | |
| /** | |
| * @param mixed[] $configs | |
| */ | |
| public function load(array $configs, ContainerBuilder $container): void | |
| { | |
| $loader = new PhpFileLoader($container, new FileLocator(__DIR__.'/../Config')); | |
| $loader->load('services.php'); | |
| } | |
| } | |