original_string: public function getEnabledTransitions($subject, $name = null)
      {
          return $this->workflowRegistry->get($subject, $name)->getEnabledTransitions($subject);
      }
code: public function getEnabledTransitions($subject, $name = null)
      {
          return $this->workflowRegistry->get($subject, $name)->getEnabledTransitions($subject);
      }
code_tokens: public function getEnabledTransitions ( $ subject , $ name = null ) { return $ this -> workflowRegistry -> get ( $ subject , $ name ) -> getEnabledTransitions ( $ subject ) ; }
docstring: Returns all enabled transitions.
  
  @param object $subject A subject
  @param string $name    A workflow name
  
  @return Transition[] All enabled transitions
docstring_tokens: Returns all enabled transitions .