16 lines
442 B
PHP
16 lines
442 B
PHP
|
<?php
|
||
|
declare(strict_types=1);
|
||
|
namespace Fbrinker\ExtensionCheck\Extension;
|
||
|
|
||
|
use Interop\Container\ContainerInterface;
|
||
|
use Laminas\ServiceManager\Factory\FactoryInterface;
|
||
|
|
||
|
class ExtensionCheckFactory implements FactoryInterface
|
||
|
{
|
||
|
public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
|
||
|
{
|
||
|
return new ExtensionCheck(
|
||
|
$container->get(ExtensionDetails::class)
|
||
|
);
|
||
|
}
|
||
|
}
|