PHP Class lithium\tests\mocks\storage\cache\strategy\MockConfigurizer

For testing strategies that need construct-time parameters.
Inheritance: extends lithium\core\Object
ファイルを表示 Open project: unionofrad/lithium

Public Properties

Property Type Description
$parameters

Public Methods

Method Description
__construct ( array $config = [] ) Constructor.
read ( string $data ) : mixed Read strategy method.
write ( mixed $data ) : string Write strategy method.

Method Details

__construct() public method

Constructor.
public __construct ( array $config = [] )
$config array

read() public static method

Unserializes the passed data.
public static read ( string $data ) : mixed
$data string Data read.
return mixed Modified data.

write() public static method

Write strategy method.
public static write ( mixed $data ) : string
$data mixed The data to be modified.
return string Modified data.

Property Details

$parameters public_oe static_oe property

public static $parameters