PHP Class Dumplie\Metadata\Infrastructure\Doctrine\Dbal\TypeRegistry

Afficher le fichier Open project: dumplie/dumplie Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( array $typeMappings = [] ) TypeRegistry constructor.
map ( string $schema, Doctrine\DBAL\Schema\Table $table, string $name, Dumplie\Metadata\Schema\FieldDefinition $definition )
register ( Dumplie\Metadata\Infrastructure\Doctrine\Dbal\TypeMapping $mapping )
withDefaultTypes ( ) : TypeRegistry

Method Details

__construct() public méthode

TypeRegistry constructor.
public __construct ( array $typeMappings = [] )
$typeMappings array

map() public méthode

public map ( string $schema, Doctrine\DBAL\Schema\Table $table, string $name, Dumplie\Metadata\Schema\FieldDefinition $definition )
$schema string
$table Doctrine\DBAL\Schema\Table
$name string
$definition Dumplie\Metadata\Schema\FieldDefinition

register() public méthode

public register ( Dumplie\Metadata\Infrastructure\Doctrine\Dbal\TypeMapping $mapping )
$mapping Dumplie\Metadata\Infrastructure\Doctrine\Dbal\TypeMapping

withDefaultTypes() public static méthode

public static withDefaultTypes ( ) : TypeRegistry
Résultat TypeRegistry