PHP Interface example\Cacher

Datei anzeigen Open project: widmogrod/php-functional

Public Methods

Method Description
get ( string $key ) : Widmogrod\Monad\Maybe\Maybe
put ( string $key, mixed $value ) : self

Method Details

get() public method

public get ( string $key ) : Widmogrod\Monad\Maybe\Maybe
$key string
return Widmogrod\Monad\Maybe\Maybe

put() public method

public put ( string $key, mixed $value ) : self
$key string
$value mixed
return self