Download the PHP package tuscanicz/doctrine-enum-oracle without Composer
On this page you can find all versions of the php package tuscanicz/doctrine-enum-oracle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package doctrine-enum-oracle
Doctrine Enum Oracle
An abstract class defining a new Doctrine type for Enum data type in Oracle.
Has dependency on tuscanicz/enum
and Doctrine 2 doctrine/orm
.
How to use
Prepare a new Enum using tuscanicz/enum
:
Create a new Type MyExampleType
into MyApp\Component\Doctrine\Type
namespace and extending the AbstractEnumType
:
How to use it with Symfony
Configure a new type (config.yml):
doctrine:
dbal:
types:
MyExampleType: 'MyApp\Component\Doctrine\Type\MyExampleType'
How to use it with Zend Framework
Configure a new type (config.php):
'doctrine' => [
'configuration' => [
'orm_default' => [
'types' => [
'my_example_type' => 'MyApp\Component\Doctrine\Type\MyExampleType',
]
...
]
...
]
...
]
That's all!
Now you can try to generate a new migration or schema diff.
All versions of doctrine-enum-oracle with dependencies
PHP Build Version
Package Version
The package tuscanicz/doctrine-enum-oracle contains the following files
Loading the files please wait ....