forked from loafle/openapi-generator-original
41 lines
987 B
Plaintext
41 lines
987 B
Plaintext
<?php
|
|
/**
|
|
* {{bundleClassName}}
|
|
*
|
|
* PHP version 5
|
|
*
|
|
* @category Class
|
|
* @package {{invokerPackage}}
|
|
* @author Swagger Codegen team
|
|
* @link https://github.com/swagger-api/swagger-codegen
|
|
*/
|
|
|
|
{{>partial_header}}
|
|
/**
|
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
* https://github.com/swagger-api/swagger-codegen
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
namespace {{invokerPackage}};
|
|
|
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
use {{invokerPackage}}\DependencyInjection\Compiler\{{bundleName}}ApiPass;
|
|
|
|
/**
|
|
* {{bundleClassName}} Class Doc Comment
|
|
*
|
|
* @category Class
|
|
* @package {{invokerPackage}}
|
|
* @author Swagger Codegen team
|
|
* @link https://github.com/swagger-api/swagger-codegen
|
|
*/
|
|
class {{bundleClassName}} extends Bundle
|
|
{
|
|
public function build(ContainerBuilder $container)
|
|
{
|
|
$container->addCompilerPass(new {{bundleName}}ApiPass());
|
|
}
|
|
}
|