Skip to content

Latest commit

 

History

History

.docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Contributte Doctrine Extensions Oroinc

Content

Doctrine (Oroinc/DoctrineExtensions) extension for Nette Framework

Setup

Install package

composer require nettrine/extensions-oroinc

Register extension

extensions:
    nettrine.extensions.oroinc: Nettrine\Extensions\Oroinc\DI\OroincBehaviorExtension

Configuration

Specify the same driver as for the Doctrine DBAL connection, all of Oroinc/DoctrineExtensions custom DQL functions for the given driver will be registered.

nettrine.extensions.oroinc:
    driver: mysql
    # mysql - 'mysql', 'mysql2', 'pdo_mysql'
    # postgre - 'pgsql', 'postgres', 'postgresql', 'pdo_pgsql'

Field types MoneyType, PercentType, ObjectType and ArrayType are always registered to your Connection.