PHP Class Nelmio\Alice\Parameter

Show file Open project: nelmio/alice Class Usage Examples

Public Methods

Method Description
__construct ( string $key, mixed $value )
getKey ( ) : string
getValue ( ) : mixed
withValue ( $value ) : self

Method Details

__construct() public method

public __construct ( string $key, mixed $value )
$key string
$value mixed

getKey() public method

public getKey ( ) : string
return string

getValue() public method

public getValue ( ) : mixed
return mixed

withValue() public method

public withValue ( $value ) : self
return self