PHP Class eZ\Publish\Core\REST\Server\Values\CachedValue

Inheritance: extends eZ\Publish\Core\REST\Common\Value
Show file Open project: ezsystems/ezpublish-kernel

Public Properties

Property Type Description
$cacheTags mixed[] Example: array( 'locationId' => 59 ).
$value mixed Actual value object.

Public Methods

Method Description
__construct ( mixed $value, array $cacheTags = [] )

Protected Methods

Method Description
checkCacheTags ( $tags )

Method Details

__construct() public method

public __construct ( mixed $value, array $cacheTags = [] )
$value mixed The value that gets cached
$cacheTags array Tags to add to the cache (supported: locationId)

checkCacheTags() protected method

protected checkCacheTags ( $tags )

Property Details

$cacheTags public property

Example: array( 'locationId' => 59 ).
public mixed[] $cacheTags
return mixed[]

$value public property

Actual value object.
public mixed $value
return mixed