public function setRedirectView($redirectView)
    {
        if (!is_file($redirectView)) {
            throw new \RuntimeException(sprintf('Redirect view file "%s" not found', $redirectView));
        }
        $this->redirectView = $redirectView;
        return $this;
    }
public function setRedirectView($redirectView)
    {
        if (!is_file($redirectView)) {
            throw new \RuntimeException(sprintf('Redirect view file "%s" not found', $redirectView));
        }
        $this->redirectView = $redirectView;
        return $this;
    }
public function setRedirectView ( $ redirectView ) { if ( ! is_file ( $ redirectView ) ) { throw new \ RuntimeException ( sprintf ( 'Redirect view file "%s" not found' , $ redirectView ) ) ; } $ this -> redirectView = $ redirectView ; return $ this ; }
Set redirect view file

@param string $redirectView The view file
@return $this
@throws \RuntimeException When view file not found
Set redirect view file