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-10-26 01:17:51 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.