Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // module/hello/Earth/src/Earth/Controller/IndexController.php
- namespace hello\Earth\Controller;
- use Zend\Mvc\Controller\AbstractActionController;
- use Zend\View\Model\ViewModel;
- class IndexController extends AbstractActionController
- {
- public function indexAction()
- {
- return new ViewModel(array(
- 'varName' => 'hello from vendor earth',
- ));
- }
- }
Add Comment
Please, Sign In to add comment