PHP 클래스 Ergo\Http\RequestFactory

상속: implements Ergo\SingletonFactory
파일 보기 프로젝트 열기: 99designs/ergo 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $server ) Constructor
clear ( ) * (non-phpdoc)
create ( ) : Request
setSchemeHeader ( $header ) Sets the HTTP header to examine to determine the scheme, either http or https. E.g X-Forwarded-Proto

비공개 메소드들

메소드 설명
_getBody ( ) : string
_getHeaders ( ) : array
_getPort ( )
_getRequestMethod ( ) : string
_getScheme ( )
_getSchemeHeader ( )
_getUrl ( ) ----------------------------------------
_hasRequestMethod ( ) : boolean
_uriRelativeToHost ( string $uri ) : string The path of the URI, which may or may not already be path-only.

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( $server )

clear() 공개 메소드

* (non-phpdoc)
public clear ( )

create() 공개 메소드

public create ( ) : Request
리턴 Request

setSchemeHeader() 공개 메소드

Sets the HTTP header to examine to determine the scheme, either http or https. E.g X-Forwarded-Proto
public setSchemeHeader ( $header )