public function secure($secure = null)
    {
        if ($secure !== null) {
            $this->secure = (bool) $secure;
        }

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

        return (bool) $this->secure;
    }
public function secure ( $ secure = null ) { if ( $ secure !== null ) { $ this -> secure = ( bool ) $ secure ; } return ( bool ) $ this -> secure ; }
Sets if cookie is secure

@param bool $secure

@return int
Sets if cookie is secure