ipub/doctrine-dynamic-discriminator-map

Dynamic discriminator map for Doctrine2 and Nette Framework

v1.1.2 2018-05-02 20:56 UTC

README

Build Status Scrutinizer Code Coverage Scrutinizer Code Quality Latest Stable Version Composer Downloads License

This extension adds support for dynamic definition of Doctrine discriminator map, so you can easily extend your entities in modules etc.

Installation

The best way to install ipub/doctrine-dynamic-discriminator-map is using Composer:

$ composer require ipub/doctrine-dynamic-discriminator-map

After that you have to register extension in config.neon.

extensions:
	dynamicDiscriminatorMap: IPub\DoctrineDynamicDiscriminatorMap\DI\DoctrineDynamicDiscriminatorMapExtension

Documentation

Learn how to use Doctrine dynamic discriminator map in documentation.

Homepage http://www.ipublikuj.eu and repository http://github.com/iPublikuj/doctrine-dynamic-discriminator-map.