PHP 클래스 Joli\Jane\OpenApi\Generator\ClientGenerator

파일 보기 프로젝트 열기: jolicode/jane-openapi 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Joli\Jane\OpenApi\Operation\OperationManager $operationManager, OperationGenerator $operationGenerator, Joli\Jane\OpenApi\Naming\OperationNamingInterface $operationNaming )
generate ( Joli\Jane\OpenApi\Model\OpenApi $openApi, string $namespace, Joli\Jane\Generator\Context\Context $context, string $suffix = 'Resource' ) : PhpParser\Node[] Generate an ast node (which correspond to a class) for a OpenApi spec

보호된 메소드들

메소드 설명
generateClass ( $group, $operations, $namespace, Joli\Jane\Generator\Context\Context $context, $suffix = 'Resource' )

메소드 상세

__construct() 공개 메소드

public __construct ( Joli\Jane\OpenApi\Operation\OperationManager $operationManager, OperationGenerator $operationGenerator, Joli\Jane\OpenApi\Naming\OperationNamingInterface $operationNaming )
$operationManager Joli\Jane\OpenApi\Operation\OperationManager
$operationGenerator OperationGenerator
$operationNaming Joli\Jane\OpenApi\Naming\OperationNamingInterface

generate() 공개 메소드

Generate an ast node (which correspond to a class) for a OpenApi spec
public generate ( Joli\Jane\OpenApi\Model\OpenApi $openApi, string $namespace, Joli\Jane\Generator\Context\Context $context, string $suffix = 'Resource' ) : PhpParser\Node[]
$openApi Joli\Jane\OpenApi\Model\OpenApi
$namespace string
$context Joli\Jane\Generator\Context\Context
$suffix string
리턴 PhpParser\Node[]

generateClass() 보호된 메소드

protected generateClass ( $group, $operations, $namespace, Joli\Jane\Generator\Context\Context $context, $suffix = 'Resource' )
$context Joli\Jane\Generator\Context\Context