Created
January 24, 2019 12:25
-
-
Save metalinspired/fd300d053bea5195adbb5db36576cfcd to your computer and use it in GitHub Desktop.
request
This file contains hidden or 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 App\Controller; | |
use Zend\Http\Request; | |
use Zend\Mvc\Controller\AbstractActionController; | |
use Zend\View\Model\ViewModel; | |
class SomeController extends AbstractActionController | |
{ | |
public function indexAction() : ViewModel | |
{ | |
/** @var Request $request */ | |
$request = $this->getRequest(); | |
return new ViewModel(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment