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

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

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

@param  int $type - HTTP status type

@return $this
Set the forward s redirect type .