public function setSteps(array $steps)
    {
        $this->steps = array();

        foreach ($steps as $step) {
            $this->addStep($step);
        }
    }
public function setSteps(array $steps)
    {
        $this->steps = array();

        foreach ($steps as $step) {
            $this->addStep($step);
        }
    }
public function setSteps ( array $ steps ) { $ this -> steps = array ( ) ; foreach ( $ steps as $ step ) { $ this -> addStep ( $ step ) ; } }
Sets the leg steps.

@param array $steps The leg steps.
Sets the leg steps .