src/Behat/Gherkin/Loader/ArrayLoader.php
private function loadStepsHash(array $hash)
    {
        $steps = array();
        foreach ($hash as $stepIterator => $stepHash) {
            $steps[] = $this->loadStepHash($stepHash, $stepIterator);
        }

        return $steps;
    }
private function loadStepsHash(array $hash)
    {
        $steps = array();
        foreach ($hash as $stepIterator => $stepHash) {
            $steps[] = $this->loadStepHash($stepHash, $stepIterator);
        }

        return $steps;
    }
private function loadStepsHash ( array $ hash ) { $ steps = array ( ) ; foreach ( $ hash as $ stepIterator => $ stepHash ) { $ steps [ ] = $ this -> loadStepHash ( $ stepHash , $ stepIterator ) ; } return $ steps ; }
Loads steps from provided hash.

@param array $hash

@return StepNode[]
Loads steps from provided hash .