PHP Class ApiPlatform\Core\Bridge\Symfony\Bundle\Command\SwaggerCommand

Author: Amrouche Hamza ([email protected])
Inheritance: extends Symfony\Component\Console\Command\Command
显示文件 Open project: api-platform/core

Public Methods

Method Description
__construct ( DocumentationNormalizer $documentationNormalizer, ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface $resourceNameCollection, string $apiTitle, string $apiDescription, string $apiVersion, array $apiFormats )

Protected Methods

Method Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Method Details

__construct() public method

public __construct ( DocumentationNormalizer $documentationNormalizer, ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface $resourceNameCollection, string $apiTitle, string $apiDescription, string $apiVersion, array $apiFormats )
$documentationNormalizer ApiPlatform\Core\Swagger\Serializer\DocumentationNormalizer
$resourceNameCollection ApiPlatform\Core\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface
$apiTitle string
$apiDescription string
$apiVersion string
$apiFormats array

configure() protected method

protected configure ( )

execute() protected method

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface