src/Header.php
public static function location($url, $code = 301){

        self::set(array(
            'Location: '. $url,
            TRUE,
            $code
        ));

        return self::send();
    }
public static function location($url, $code = 301){

        self::set(array(
            'Location: '. $url,
            TRUE,
            $code
        ));

        return self::send();
    }
public static function location ( $ url , $ code = 301 ) { self :: set ( array ( 'Location: ' . $ url , TRUE , $ code ) ) ; return self :: send ( ) ; }
Set and redirect HTTP Header Location
@see Header::set()
@param string $url
@param int $code
@return void
Set and redirect HTTP Header Location