for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Article\Factory\View\Helper;
use Article\Service\EventService;
use Article\View\Helper\EventHelper;
use Interop\Container\ContainerInterface;
class EventHelperFactory
{
public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
return new EventHelper(
$container->get(EventService::class)
);
}