Usage examples of the adapters available here:
This adapter uses a Wincache backend to store the cached content:
$di->set(
'modelsMetadata',
function () {
return new \Phalcon\Mvc\Model\MetaData\Wincache(
[
'lifetime' => 8600,
]
);
}
);