An alternative doctrine entity base repository