PHP 클래스 Sulu\Component\Webspace\Analyzer\Attributes\RequestAttributes

파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( array $attributes = [] )
getAttribute ( string $name, mixed | null $default = null ) : mixed Returns attribute with given name.
merge ( RequestAttributes $requestAttributes ) : RequestAttributes Merges this and the given attributes and returns a new instance.

메소드 상세

__construct() 공개 메소드

public __construct ( array $attributes = [] )
$attributes array

getAttribute() 공개 메소드

Returns attribute with given name.
public getAttribute ( string $name, mixed | null $default = null ) : mixed
$name string
$default mixed | null
리턴 mixed

merge() 공개 메소드

Merges this and the given attributes and returns a new instance.
public merge ( RequestAttributes $requestAttributes ) : RequestAttributes
$requestAttributes RequestAttributes
리턴 RequestAttributes