src/ministruts/ActionForward.php
public function setRedirect($redirect) {
        if (!is_bool($redirect)) throw new IllegalTypeException('Illegal type of parameter $redirect: '.gettype($redirect));

        $this->redirect = $redirect;
        return $this;
    }
public function setRedirect($redirect) {
        if (!is_bool($redirect)) throw new IllegalTypeException('Illegal type of parameter $redirect: '.gettype($redirect));

        $this->redirect = $redirect;
        return $this;
    }
public function setRedirect ( $ redirect ) { if ( ! is_bool ( $ redirect ) ) throw new IllegalTypeException ( 'Illegal type of parameter $redirect: ' . gettype ( $ redirect ) ) ; $ this -> redirect = $ redirect ; return $ this ; }
Set the forward's redirect status.

@param  bool $redirect

@return $this
Set the forward s redirect status .