ipub/doctrine-dynamic-discriminator-map

Dynamic discriminator map for Doctrine2 and Nette Framework

v1.4.0 2021-05-23 21:26 UTC

This package is auto-updated.

Last update: 2024-11-26 01:30:14 UTC


README

Build Status Code coverage PHP Licence Downloads total Latest stable PHPStan

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.