protected function getChoices(array $statuses)
    {
        $transitions = array();

        foreach ($statuses as $statusFrom) {
            foreach ($statuses as $statusTo) {
                $transitionName = $this->transitionTransformer->generateTransitionName($statusFrom, $statusTo);
                $transitions[$transitionName] = $transitionName;
            }
        }

        return $transitions;
    }
protected function getChoices(array $statuses)
    {
        $transitions = array();

        foreach ($statuses as $statusFrom) {
            foreach ($statuses as $statusTo) {
                $transitionName = $this->transitionTransformer->generateTransitionName($statusFrom, $statusTo);
                $transitions[$transitionName] = $transitionName;
            }
        }

        return $transitions;
    }
protected function getChoices ( array $ statuses ) { $ transitions = array ( ) ; foreach ( $ statuses as $ statusFrom ) { foreach ( $ statuses as $ statusTo ) { $ transitionName = $ this -> transitionTransformer -> generateTransitionName ( $ statusFrom , $ statusTo ) ; $ transitions [ $ transitionName ] = $ transitionName ; } } return $ transitions ; }
Generate all possible transitions between statuses

@param array $statuses

@return array
Generate all possible transitions between statuses