php-extension-check/src/Parser/FileParserFactory.php

17 baris
440 B
PHP
Mentah Pandangan Normal Riwayat

2021-05-08 21:09:48 +00:00
<?php
declare(strict_types=1);
namespace Fbrinker\ExtensionCheck\Parser;
use Interop\Container\ContainerInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use Symfony\Component\Finder\Finder;
class FileParserFactory implements FactoryInterface
{
public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
{
return new FileParser(
new Finder()
);
}
}