PHP 클래스 Symfony\Component\HttpFoundation\RedirectResponse

저자: Fabien Potencier ([email protected])
상속: extends Response
파일 보기 프로젝트 열기: pmjones/php-framework-benchmarks 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $url, integer $status = 302 ) Creates a redirect response so that it conforms to the rules defined for a redirect status code.

메소드 상세

__construct() 공개 메소드

Creates a redirect response so that it conforms to the rules defined for a redirect status code.
또한 보기: http://tools.ietf.org/html/rfc2616#section-10.3
public __construct ( string $url, integer $status = 302 )
$url string The URL to redirect to
$status integer The status code (302 by default)