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

pls use short array syntax