src/Cache/Simple/Riak.php
private function isExpired(Riak\Object $object)
	{
		$metadataMap = $object->getMetadataMap();

		return isset($metadataMap[self::EXPIRES_HEADER])
			&& $metadataMap[self::EXPIRES_HEADER] < \time();
	}
private function isExpired(Riak\Object $object)
	{
		$metadataMap = $object->getMetadataMap();

		return isset($metadataMap[self::EXPIRES_HEADER])
			&& $metadataMap[self::EXPIRES_HEADER] < \time();
	}
private function isExpired ( Riak \ Object $ object ) { $ metadataMap = $ object -> getMetadataMap ( ) ; return isset ( $ metadataMap [ self :: EXPIRES_HEADER ] ) && $ metadataMap [ self :: EXPIRES_HEADER ] < \ time ( ) ; }
Check if a given Riak Object have expired.

@param \Riak\Object $object

@return bool
Check if a given Riak Object have expired .