PHP 클래스 Joli\Jane\Guesser\Guess\MultipleType

상속: extends Joli\Jane\Guesser\Guess\Type
파일 보기 프로젝트 열기: jolicode/jane 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$types

공개 메소드들

메소드 설명
__construct ( $object, array $types = [] )
__toString ( ) : string
addType ( Joli\Jane\Guesser\Guess\Type $type ) Add a type
createDenormalizationStatement ( Joli\Jane\Generator\Context\Context $context, PhpParser\Node\Expr $input )
createNormalizationStatement ( Joli\Jane\Generator\Context\Context $context, PhpParser\Node\Expr $input )
getTypeHint ( )
getTypes ( ) : Joli\Jane\Guesser\Guess\Type[] Return a list of types

비공개 메소드들

메소드 설명
isOptionalObjectType ( Joli\Jane\Guesser\Guess\Type $nullType, Joli\Jane\Guesser\Guess\Type $objectType )

메소드 상세

__construct() 공개 메소드

public __construct ( $object, array $types = [] )
$types array

__toString() 공개 메소드

public __toString ( ) : string
리턴 string

addType() 공개 메소드

Add a type
public addType ( Joli\Jane\Guesser\Guess\Type $type )
$type Joli\Jane\Guesser\Guess\Type

createDenormalizationStatement() 공개 메소드

public createDenormalizationStatement ( Joli\Jane\Generator\Context\Context $context, PhpParser\Node\Expr $input )
$context Joli\Jane\Generator\Context\Context
$input PhpParser\Node\Expr

createNormalizationStatement() 공개 메소드

public createNormalizationStatement ( Joli\Jane\Generator\Context\Context $context, PhpParser\Node\Expr $input )
$context Joli\Jane\Generator\Context\Context
$input PhpParser\Node\Expr

getTypeHint() 공개 메소드

public getTypeHint ( )

getTypes() 공개 메소드

Return a list of types
public getTypes ( ) : Joli\Jane\Guesser\Guess\Type[]
리턴 Joli\Jane\Guesser\Guess\Type[]

프로퍼티 상세

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

protected $types