Download the PHP package ekapusta/doctrine-custom-types-bundle without Composer
On this page you can find all versions of the php package ekapusta/doctrine-custom-types-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ekapusta/doctrine-custom-types-bundle
More information about ekapusta/doctrine-custom-types-bundle
Files in ekapusta/doctrine-custom-types-bundle
Download ekapusta/doctrine-custom-types-bundle
More information about ekapusta/doctrine-custom-types-bundle
Files in ekapusta/doctrine-custom-types-bundle
Vendor ekapusta
Package doctrine-custom-types-bundle
Short Description Add custom types like MySQL's enum
License MIT
Package doctrine-custom-types-bundle
Short Description Add custom types like MySQL's enum
License MIT
Please rate this library. Is it a good library?
Informations about the package doctrine-custom-types-bundle
Doctrine custom types bundle
Add custom types like MySQL's enum.
To add new type
- Add it to
Ekapusta\DoctrineCustomTypesBundle\DBAL\Types
- Register it at
Ekapusta\DoctrineCustomTypesBundle\DBAL\TypeRegistry
MySQL ENUM type
To use it in annotations, pass values
through options
:
/**
* @var string
*
* @ORM\Column(name="sex", type="enum", options={
* "values": {"yes", "no", "maybe"},
* "default": "yes"
* })
*/
private $sex;
PostgreSQL CUBE type
Supports both points and point's sets. Also all cube's functions added. See https://www.postgresql.org/docs/current/static/cube.html
/**
* @var Value\Point
*
* @ORM\Column(name="n_space_point", type="cube", options={
* "default": "(1, 2, 3)"
* })
*/
private $nSpacePoint;
/**
* @var Value\PointSet
*
* @ORM\Column(name="n_space_cube", type="cube", options={
* "default": "(1, 2), (3, 4)"
* })
*/
private $nSpaceCube;
All versions of doctrine-custom-types-bundle with dependencies
PHP Build Version
Package Version
The package ekapusta/doctrine-custom-types-bundle contains the following files
Loading the files please wait ....