PHP 트레잇 AppserverIo\Appserver\Core\Api\Node\ParamsNodeTrait

저자: Tim Wagner ([email protected])
저자: Bernhard Wick ([email protected])
파일 보기 프로젝트 열기: appserver-io/appserver

보호된 프로퍼티들

프로퍼티 타입 설명
$params array The handler params to use.

공개 메소드들

메소드 설명
getParam ( string $name ) : mixed Returns the param with the passed name casted to the specified type.
getParams ( ) : array Array with the handler params to use.
getParamsAsArray ( ) : array Returns the params casted to the defined type as associative array.
setParam ( string $name, string $type, mixed $value ) : void Sets the param with the passed name, type and value.
setParams ( array $params ) : void Array with the handler params to use.

메소드 상세

getParam() 공개 메소드

Returns the param with the passed name casted to the specified type.
public getParam ( string $name ) : mixed
$name string The name of the param to be returned
리턴 mixed The requested param casted to the specified type

getParams() 공개 메소드

Array with the handler params to use.
public getParams ( ) : array
리턴 array

getParamsAsArray() 공개 메소드

Returns the params casted to the defined type as associative array.
public getParamsAsArray ( ) : array
리턴 array The array with the casted params

setParam() 공개 메소드

Sets the param with the passed name, type and value.
public setParam ( string $name, string $type, mixed $value ) : void
$name string The param name
$type string The param type
$value mixed The param value
리턴 void

setParams() 공개 메소드

Array with the handler params to use.
public setParams ( array $params ) : void
$params array The handler params
리턴 void

프로퍼티 상세

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

The handler params to use.
protected array $params
리턴 array