src/CoreBundle/EventListener/DcGeneral/Table/DcaSettingCondition/AttributeIdListener.php
protected function wantToHandle(AbstractEnvironmentAwareEvent $event)
    {
        if (!parent::wantToHandle($event)) {
            return false;
        }
        if (method_exists($event, 'getPropertyName') && ('attr_id' !== $event->getPropertyName())) {
            return false;
        }
        if (method_exists($event, 'getProperty') && ('attr_id' !== $event->getProperty())) {
            return false;
        }

        return true;
    }
protected function wantToHandle(AbstractEnvironmentAwareEvent $event)
    {
        if (!parent::wantToHandle($event)) {
            return false;
        }
        if (method_exists($event, 'getPropertyName') && ('attr_id' !== $event->getPropertyName())) {
            return false;
        }
        if (method_exists($event, 'getProperty') && ('attr_id' !== $event->getProperty())) {
            return false;
        }

        return true;
    }
{@inheritDoc}