PHP 클래스 Happyr\LinkedIn\Http\UrlGenerator

저자: Tobias Nyholm ([email protected])
상속: implements Happyr\LinkedIn\Http\UrlGeneratorInterface
파일 보기 프로젝트 열기: happyr/linkedin-api-client

공개 프로퍼티들

프로퍼티 타입 설명
$domainMap domainMap Maps aliases to LinkedIn domains.
$knownLinkedInParams knownLinkedInParams A list of params that might be in the query string

보호된 프로퍼티들

프로퍼티 타입 설명
$trustForwarded boolean Indicates if we trust HTTP_X_FORWARDED_* headers.

공개 메소드들

메소드 설명
getCurrentUrl ( )
getUrl ( $name, $path = '', $params = [] )
setTrustForwarded ( $trustForwarded )

보호된 메소드들

메소드 설명
dropLinkedInParams ( string $query ) : string Drop known LinkedIn params. Ie those in self::$knownLinkeInParams.
getHttpHost ( ) : mixed Get the host.
getHttpProtocol ( ) : string Get the protocol.

메소드 상세

dropLinkedInParams() 보호된 메소드

Drop known LinkedIn params. Ie those in self::$knownLinkeInParams.
protected dropLinkedInParams ( string $query ) : string
$query string
리턴 string query without LinkedIn params. This string is prepended with a question mark '?'

getCurrentUrl() 공개 메소드

public getCurrentUrl ( )

getHttpHost() 보호된 메소드

Get the host.
protected getHttpHost ( ) : mixed
리턴 mixed

getHttpProtocol() 보호된 메소드

Get the protocol.
protected getHttpProtocol ( ) : string
리턴 string

getUrl() 공개 메소드

public getUrl ( $name, $path = '', $params = [] )

setTrustForwarded() 공개 메소드

public setTrustForwarded ( $trustForwarded )

프로퍼티 상세

$domainMap 공개적으로 정적으로 프로퍼티

domainMap Maps aliases to LinkedIn domains.
public static $domainMap

$knownLinkedInParams 공개적으로 정적으로 프로퍼티

knownLinkedInParams A list of params that might be in the query string
public static $knownLinkedInParams

$trustForwarded 보호되어 있는 프로퍼티

Indicates if we trust HTTP_X_FORWARDED_* headers.
protected bool $trustForwarded
리턴 boolean