<?php
namespace Application\Factory;
use Zend\ServiceManager\Factory\FactoryInterface;
use Interop\Container\ContainerInterface;
class UmumControllerFactory implements FactoryInterface
{
public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
{
/* get helpermanager gan */
$headScript = $container->get('ViewHelperManager')->get('headScript');
return new \Application\Controller\UmumController($headScript);
}
}
-
Indra Raja authored7b9b1583