PHP Class Token, symfony-1.4

显示文件 Open project: vjousse/symfony-1.4 Class Usage Examples

Public Methods

Method Description
getKey ( ) : string Returns the key for this token.
getValue ( ) : string Returns the value for this token.
setKey ( string $key ) Sets the token key.
setValue ( string $value ) Sets the token value.

Method Details

getKey() public method

Returns the key for this token.
public getKey ( ) : string
return string The key for this token.

getValue() public method

Returns the value for this token.
public getValue ( ) : string
return string The value for this token.

setKey() public method

Sets the token key.
public setKey ( string $key )
$key string The key for this token. Must not be null.

setValue() public method

Sets the token value.
public setValue ( string $value )
$value string The value for this token. Must not be null.