public function getStep($uuid)
    {
        foreach ($this->steps as $step) {
            if ($step->getUuid() === $uuid) {
                return $step;
            }
        }

        return null;
    }
public function getStep($uuid)
    {
        foreach ($this->steps as $step) {
            if ($step->getUuid() === $uuid) {
                return $step;
            }
        }

        return null;
    }
public function getStep ( $ uuid ) { foreach ( $ this -> steps as $ step ) { if ( $ step -> getUuid ( ) === $ uuid ) { return $ step ; } } return null ; }
Gets a step by its UUID.

@param string $uuid

@return Step|null
Gets a step by its UUID .