Skip to content

Instantly share code, notes, and snippets.

@pwalter
pwalter / gist:3017965
Created June 29, 2012 13:36
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 . '<?');
}
}
@pwalter
pwalter / gist:3016846
Created June 29, 2012 09:11
routePart
-
name: 'Single Plausibility Version Actions'
uriPattern: 'versionplausibility/{@action}/{version}'
defaults:
'@package': 'ITC.Collab'
'@controller': 'VersionPlausibility'
'@action': 'show'
routeParts:
version:
objectType: 'ITC\Collab\Domain\Model\VersionPlausibility'