Skip to content

Instantly share code, notes, and snippets.

@pwalter
Created June 29, 2012 13:36
Show Gist options
  • Save pwalter/3017965 to your computer and use it in GitHub Desktop.
Save pwalter/3017965 to your computer and use it in GitHub Desktop.
MemcachedPHPBackend
<?php
namespace ITC\Collab\Cache\Backend;
class MemcachedPHPBackend extends \TYPO3\FLOW3\Cache\Backend\MemcachedBackend implements \TYPO3\FLOW3\Cache\Backend\PhpCapableBackendInterface {
public function requireOnce($entryIdentifier) {
$code = $this->get($entryIdentifier);
eval('?>' . $code . '<?');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment