private function actionPos($incoming)
    {
        $count = 0;
        foreach ($this->getSteps() as $action => $step) {
            if ($action == $incoming) {
                return $count;
            }
            $count++;
        }
    }
private function actionPos($incoming)
    {
        $count = 0;
        foreach ($this->getSteps() as $action => $step) {
            if ($action == $incoming) {
                return $count;
            }
            $count++;
        }
    }
private function actionPos ( $ incoming ) { $ count = 0 ; foreach ( $ this -> getSteps ( ) as $ action => $ step ) { if ( $ action == $ incoming ) { return $ count ; } $ count ++ ; } }
Get the numerical position of a step
Get the numerical position of a step