PHP Class FactoryGirl\Provider\Doctrine\DBAL\Types\StatusArrayType

Since: 2.0
Inheritance: extends Doctrine\DBAL\Types\Type
Show file Open project: breerly/factory-girl-php Class Usage Examples

Protected Properties

Property Type Description
$acceptedPattern Validation regex

Public Methods

Method Description
convertToDatabaseValue ( $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
convertToPHPValue ( $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
getName ( )
getSQLDeclaration ( array $fieldDeclaration, Doctrine\DBAL\Platforms\AbstractPlatform $platform )

Method Details

convertToDatabaseValue() public method

public convertToDatabaseValue ( $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
$platform Doctrine\DBAL\Platforms\AbstractPlatform

convertToPHPValue() public method

public convertToPHPValue ( $value, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
$platform Doctrine\DBAL\Platforms\AbstractPlatform

getName() public method

public getName ( )

getSQLDeclaration() public method

public getSQLDeclaration ( array $fieldDeclaration, Doctrine\DBAL\Platforms\AbstractPlatform $platform )
$fieldDeclaration array
$platform Doctrine\DBAL\Platforms\AbstractPlatform

Property Details

$acceptedPattern protected property

Validation regex
protected $acceptedPattern