add configuration value to activate or not the doctrine_listener