public function delay($delay = null)
    {
        if ($delay !== null) {
            $this->delay = (int) $delay;
        }

        $this->setRedirectHeaders();

        return $this->delay;
    }
public function delay($delay = null)
    {
        if ($delay !== null) {
            $this->delay = (int) $delay;
        }

        $this->setRedirectHeaders();

        return $this->delay;
    }
public function delay ( $ delay = null ) { if ( $ delay !== null ) { $ this -> delay = ( int ) $ delay ; } $ this -> setRedirectHeaders ( ) ; return $ this -> delay ; }
Sets redirection delay

@param int $delay redirection delay in seconds

@return int
Sets redirection delay