PHP Class Joli\Jane\Guesser\Guess\PatternMultipleType

Inheritance: extends Joli\Jane\Guesser\Guess\Type
Afficher le fichier Open project: jolicode/jane Class Usage Examples

Protected Properties

Свойство Type Description
$types

Méthodes publiques

Méthode Description
__construct ( $object, array $types = [] )
__toString ( ) : string
addType ( string $pattern, Joli\Jane\Guesser\Guess\Type $type ) Add a type
createDenormalizationStatement ( Joli\Jane\Generator\Context\Context $context, PhpParser\Node\Expr $input ) (@inheritDoc}
createNormalizationStatement ( Joli\Jane\Generator\Context\Context $context, PhpParser\Node\Expr $input ) (@inheritDoc}

Méthodes protégées

Méthode Description
createArrayValueStatement ( ) {@inheritDoc}
createLoopKeyStatement ( Joli\Jane\Generator\Context\Context $context ) {@inheritDoc}
createNormalizationArrayValueStatement ( ) {@inheritDoc}

Method Details

__construct() public méthode

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

__toString() public méthode

public __toString ( ) : string
Résultat string

addType() public méthode

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

createArrayValueStatement() protected méthode

{@inheritDoc}

createDenormalizationStatement() public méthode

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

createLoopKeyStatement() protected méthode

{@inheritDoc}
protected createLoopKeyStatement ( Joli\Jane\Generator\Context\Context $context )
$context Joli\Jane\Generator\Context\Context

createNormalizationArrayValueStatement() protected méthode

{@inheritDoc}

createNormalizationStatement() public méthode

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

Property Details

$types protected_oe property

protected $types