Added example of custom condition to DoctrinePresenter