Phoronix: PHP 7.1 Makes Its Debut
PHP 7.1 is now officially available...
PHP 7.1 is now officially available...
[Authorize] [HttpPost] public IActionResult Index() { return View(); }
[Authorize] [HttpPost] public IActionResult Index() { return View(); }
function index()
{
parent::decorators->authorize();
parent::decorators->httpPost();
return parent::view();
}
function index()
{
parent::decorators->authorize();
parent::decorators->httpPost();
return parent::view();
}
function index()
{
parent::decorators->authorize();
parent::decorators->httpPost();
return parent::view();
}
/** * @Route("/edit/{id}") * @Method({"GET", "POST"}) * @Security("has_role('ROLE_ADMIN')") */ public function editAction($id) { }
Comment