PHP 클래스 Joli\Jane\Generator\NormalizerGenerator

상속: implements Joli\Jane\Generator\GeneratorInterface, use trait Joli\Jane\Generator\Normalizer\DenormalizerGenerator, use trait Joli\Jane\Generator\Normalizer\NormalizerGenerator
파일 보기 프로젝트 열기: jolicode/jane 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$naming The naming service
$useReference Whether to generate the JSON Reference system

공개 메소드들

메소드 설명
__construct ( Naming $naming, boolean $useReference = true )
generate ( mixed $schema, string $className, Joli\Jane\Generator\Context\Context $context ) : File[] Generate a set of files given a schema

보호된 메소드들

메소드 설명
createNormalizerFactoryClass ( $classes )
getNaming ( ) : Naming The naming service

메소드 상세

__construct() 공개 메소드

public __construct ( Naming $naming, boolean $useReference = true )
$naming Naming Naming Service
$useReference boolean Whether to generate the JSON Reference system

createNormalizerFactoryClass() 보호된 메소드

protected createNormalizerFactoryClass ( $classes )

generate() 공개 메소드

Generate a set of files given a schema
public generate ( mixed $schema, string $className, Joli\Jane\Generator\Context\Context $context ) : File[]
$schema mixed Schema to generate from
$className string Class to generate
$context Joli\Jane\Generator\Context\Context Context for generation
리턴 File[]

getNaming() 보호된 메소드

The naming service
protected getNaming ( ) : Naming
리턴 Naming

프로퍼티 상세

$naming 보호되어 있는 프로퍼티

The naming service
protected $naming

$useReference 보호되어 있는 프로퍼티

Whether to generate the JSON Reference system
protected $useReference