This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Application\Controller; | |
use Zend\Mvc\Controller\AbstractActionController; | |
class ParametrizacaoItemController extends AbstractActionController | |
{ | |
public function indexAction() | |
{ | |
die('Index'); | |
} | |
} | |
<?php | |
namespace Application\Controller\Factory; | |
use Application\Controller\ParametrizacaoItemController; | |
use Zend\ServiceManager\FactoryInterface; | |
use Zend\ServiceManager\ServiceLocatorInterface; | |
class ParametrizacaoItemControllerFactory implements FactoryInterface | |
{ | |
/** | |
* {@inheritDoc} | |
*/ | |
public function createService(ServiceLocatorInterface $serviceLocator) | |
{ | |
return new ParametrizacaoItemController(); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment