forked from GNUsocial/gnu-social
[COMPOSER] Add new php-ffmpeg package
This commit is contained in:
17
vendor/zendframework/zend-cache/autoload/patternPluginManagerPolyfill.php
vendored
Normal file
17
vendor/zendframework/zend-cache/autoload/patternPluginManagerPolyfill.php
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* @see https://github.com/zendframework/zend-cache for the canonical source repository
|
||||
* @copyright Copyright (c) 2017 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license https://github.com/zendframework/zend-cache/blob/master/LICENSE.md New BSD License
|
||||
*/
|
||||
|
||||
use Zend\Cache\PatternPluginManager;
|
||||
use Zend\ServiceManager\ServiceManager;
|
||||
|
||||
call_user_func(function () {
|
||||
$target = method_exists(ServiceManager::class, 'configure')
|
||||
? PatternPluginManager\PatternPluginManagerV3Polyfill::class
|
||||
: PatternPluginManager\PatternPluginManagerV2Polyfill::class;
|
||||
|
||||
class_alias($target, PatternPluginManager::class);
|
||||
});
|
Reference in New Issue
Block a user