public function getTransitionsByName($transitionName)
    {
        return array_filter(
            $this->transitions,
            function (Transition $transition) use ($transitionName) {
                return $transition->getName() === $transitionName;
            }
        );
    }
public function getTransitionsByName($transitionName)
    {
        return array_filter(
            $this->transitions,
            function (Transition $transition) use ($transitionName) {
                return $transition->getName() === $transitionName;
            }
        );
    }
public function getTransitionsByName ( $ transitionName ) { return array_filter ( $ this -> transitions , function ( Transition $ transition ) use ( $ transitionName ) { return $ transition -> getName ( ) === $ transitionName ; } ) ; }
Get transitions with specific name.

@param string $transitionName Transition name

@return array|null Transitions with specific name
Get transitions with specific name .