[COMPOSER] Add new php-ffmpeg package

This commit is contained in:
t3nma
2020-08-07 23:42:38 +01:00
parent 0a6bb5190f
commit c527ad0803
8874 changed files with 1090008 additions and 154 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace ZendBench\ServiceManager\BenchAsset;
use Zend\ServiceManager\AbstractFactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
class AbstractFactoryFoo implements AbstractFactoryInterface
{
public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName)
{
if ($name != 'foo') {
return false;
}
return true;
}
public function createServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName)
{
return new Foo();
}
}

View File

@@ -0,0 +1,13 @@
<?php
namespace ZendBench\ServiceManager\BenchAsset;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
class FactoryFoo implements FactoryInterface
{
public function createService(ServiceLocatorInterface $serviceLocator)
{
return new Foo();
}
}

View File

@@ -0,0 +1,12 @@
<?php
namespace ZendBench\ServiceManager\BenchAsset;
class Foo
{
protected $options;
public function __construct($options = null)
{
$this->options = $options;
}
}