for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace InvoiceNinjaModule\Service;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
/**
* Class TaxRateManagerFactory
*/
class TaxRateManagerFactory implements FactoryInterface
{
* @param ContainerInterface $container
* @param string $requestedName
* @param array|null $options
*
* @return TaxRateManager
* @throws \Psr\Container\ContainerExceptionInterface
* @throws \Psr\Container\NotFoundExceptionInterface
public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
return new TaxRateManager($container->get(ObjectService::class));
}