for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/**
* ReportingCloud Zend Framework 3 Module
*
* Zend Framework 3 Module for ReportingCloud Web API. Authored and supported by Text Control GmbH.
* @link https://www.reporting.cloud to learn more about ReportingCloud
* @link https://git.io/Je5US for the canonical source repository
* @license https://github.com/TextControl/txtextcontrol-reportingcloud-php-zf-module/blob/master/LICENSE.md
* @copyright © 2020 Text Control GmbH
*/
namespace TxTextControl\ReportingCloud\View\Helper;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
* Class ReportingCloudFactory
* @package TxTextControl\ReportingCloud
* @author Jonathan Maron (@JonathanMaron)
class ReportingCloudFactory implements FactoryInterface
{
* @param ContainerInterface $container
* @param string $requestedName
* @param array|null $options
* @return ReportingCloud
public function __invoke(ContainerInterface $container, $requestedName, array $options = null): ReportingCloud
$reportingCloud = $container->get('ReportingCloud');
return new ReportingCloud($reportingCloud);
}