All Downloads are FREE. Search and download functionalities are using the official Maven repository.

php-symfony.Extension.mustache Maven / Gradle / Ivy

There is a newer version: 7.7.0
Show newest version
partial_header}}
/**
 * NOTE: This class is auto generated by the openapi generator program.
 * https://github.com/openapitools/openapi-generator
 * Do not edit the class manually.
 */

namespace {{invokerPackage}}\DependencyInjection;

use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;

/**
 * {{bundleExtensionName}} Class Doc Comment
 *
 * @category Class
 * @package  {{invokerPackage}}\DependencyInjection
 * @author   OpenAPI Generator team
 * @link     https://github.com/openapitools/openapi-generator
 */
class {{bundleExtensionName}} extends Extension
{
    public function load(array $configs, ContainerBuilder $container): void
    {
        $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
        $loader->load('services.yaml');
    }

    public function getAlias(): string
    {
        return '{{bundleAlias}}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy