Symfony 2: Doctrine prePersist Not Firing

Inside my config.yml file I have declared a listener as a service and tagged it as doctrine.event_listener. The service itself seems to created just fine and added to the di container. However, upon persisting an entity the listener doesn’t seem to be getting called by doctrine. Which is funny because it was working then just suddenly stopped.

Here is the config.yml definition:

        class: App\\RealEstate\\Event\\Listener\\Doctrine\\DeleteFeatureWhenEmptyListener
            - { name: doctrine.event_listener, event: prePersist }

Here is the Listener:

namespace App\\RealEstate\\Event\\Listener\\Doctrine;

use Doctrine\\ORM\\Event\\LifecycleEventArgs;
use App\\RealEstate\\Entity\\Feature;

class DeleteFeatureWhenEmptyListener {
	* @param object LifecycleEventArgs
	public function prePersist(LifecycleEventArgs $eventArgs) {
		$entity = $eventArgs->getEntity();
		echo 'fired event';
		if( $entity instanceof Feature) {
			echo 'Is entity';
			if( strlen($entity->getActualValue()) === 0 ) {
				echo 'removed';

As you can see with using echo I am just trying to determine if certain conditions are met and if it is even being called, which it is not.