PHP 5.5+ and replaced doctrine/cache with symfony/cache
This commit is contained in:
parent
bb5cb190bd
commit
7eace8852a
12 changed files with 142 additions and 127 deletions
|
|
@ -11,9 +11,9 @@
|
|||
|
||||
namespace FFMpeg;
|
||||
|
||||
use Doctrine\Common\Cache\ArrayCache;
|
||||
use Silex\Application;
|
||||
use Silex\ServiceProviderInterface;
|
||||
use Symfony\Component\Cache\Adapter\ArrayAdapter;
|
||||
|
||||
class FFMpegServiceProvider implements ServiceProviderInterface
|
||||
{
|
||||
|
|
@ -44,7 +44,7 @@ class FFMpegServiceProvider implements ServiceProviderInterface
|
|||
});
|
||||
|
||||
$app['ffprobe.cache'] = $app->share(function () {
|
||||
return new ArrayCache();
|
||||
return new ArrayAdapter;
|
||||
});
|
||||
|
||||
$app['ffmpeg.ffprobe'] = $app->share(function (Application $app) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue