for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Core\Controller\Plugin;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
/**
* Create new Config plugin
*
* @package Core\Controller\Plugin
* @author Anthonius Munthi <[email protected]>
*/
class ConfigFactory implements FactoryInterface
{
public function __invoke( ContainerInterface $container, $requestedName, array $options = null )
$config = $container->get('Config');
$plugin = new Config($config);
return $plugin;
}