Closed craue closed 5 years ago
@craue Thanks for responding so quickly to yesterday's comment on #36
My Craue Config in config.yml
looks like this:
craue_config:
entity_name: CRMPiccoBundle\Entity\ConfigSetting
and I extend the BaseSetting
parent class like this:
/**
* ConfigSetting entity for the config_setting table.
*
* @author Craig R Morton <crmpicco@aol.com>
* @date 03-07-2017
*/
namespace CRMPiccoBundle\Entity;
use Craue\ConfigBundle\Entity\BaseSetting;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="Craue\ConfigBundle\Repository\SettingRepository")
* @ORM\Table(name="config_setting")
*/
class ConfigSetting extends BaseSetting
{
This PR looks great to me. It would be great if this was merged in and released to save me maintaining a fork as this bundle does exactly what I need it to do (and more).
Thanks 👍
Hi @craue, is this likely to be merged in soon?
I was hoping for some more feedback from people actually trying the code about whether it really works as expected and solves the issue.
Version 2.3.0 is out containing this feature.
You're a ⭐️ !
An approach to possibly fix #36.
What I don't like is that
BaseSetting.orm.xml
will need to be duplicated (in separated folders due to doctrine/DoctrineBundle#209), so let me know if there's a cleaner way.