Add method for transit by entity class and id in Workflow Bundle