How to get a value from the cache?

Magento 1.x code

$cache = Mage::app()->getCache();

how to get that in magento 2
thanx

See also:

1 Like

See also: