PHP Class Joli\Jane\OpenApi\Generator\Parameter\BodyParameterGenerator

Inheritance: extends Joli\Jane\OpenApi\Generator\Parameter\ParameterGenerator
ファイルを表示 Open project: jolicode/jane-openapi Class Usage Examples

Public Methods

Method Description
__construct ( PhpParser\Parser $parser, Resolver $resolver )
generateDocParameter ( $parameter, Joli\Jane\Generator\Context\Context $context ) {@inheritDoc}
generateMethodParameter ( $parameter, Joli\Jane\Generator\Context\Context $context ) {@inheritDoc}

Protected Methods

Method Description
getClass ( Joli\Jane\OpenApi\Model\BodyParameter $parameter, Joli\Jane\Generator\Context\Context $context ) : array

Method Details

__construct() public method

public __construct ( PhpParser\Parser $parser, Resolver $resolver )
$parser PhpParser\Parser
$resolver Joli\Jane\Reference\Resolver

generateDocParameter() public method

{@inheritDoc}
public generateDocParameter ( $parameter, Joli\Jane\Generator\Context\Context $context )
$parameter BodyParameter
$context Joli\Jane\Generator\Context\Context

generateMethodParameter() public method

{@inheritDoc}
public generateMethodParameter ( $parameter, Joli\Jane\Generator\Context\Context $context )
$parameter BodyParameter
$context Joli\Jane\Generator\Context\Context

getClass() protected method

protected getClass ( Joli\Jane\OpenApi\Model\BodyParameter $parameter, Joli\Jane\Generator\Context\Context $context ) : array
$parameter Joli\Jane\OpenApi\Model\BodyParameter
$context Joli\Jane\Generator\Context\Context
return array