public function setStepLabel($stepLabel)
    {
        if (is_bool($stepLabel) === true) {
            $this->stepLabel = $stepLabel;
        } else {
            $msg = "The 'stepLabel' argument must be a boolean value, '" . gettype($stepLabel) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setStepLabel($stepLabel)
    {
        if (is_bool($stepLabel) === true) {
            $this->stepLabel = $stepLabel;
        } else {
            $msg = "The 'stepLabel' argument must be a boolean value, '" . gettype($stepLabel) . "' given.";
            throw new InvalidArgumentException($msg);
        }
    }
public function setStepLabel ( $ stepLabel ) { if ( is_bool ( $ stepLabel ) === true ) { $ this -> stepLabel = $ stepLabel ; } else { $ msg = "The 'stepLabel' argument must be a boolean value, '" . gettype ( $ stepLabel ) . "' given." ; throw new InvalidArgumentException ( $ msg ) ; } }
Set whether or not each step on the slider has to be labelled.

@param boolean $stepLabel
@throws \InvalidArgumentException If $stepLabel is not a boolean value.
Set whether or not each step on the slider has to be labelled .