Zend\MVC - Available controllers

6 important questions on Zend\MVC - Available controllers

What is the single method in Zend\Stdlib\DispatchableInterface?

dispatch(Request $request, Response $response)

Which method in a controller retreives a plugin with a specific name?

Controller::plugin($name, $options = null)

How do you retrieve the result of an AbstractActionController?

Call getResult() on the MvcEvent
  • Higher grades + faster learning
  • Never study anything twice
  • 100% sure, 100% understanding
Discover Study Smart

Name two Http abstract controller types?

AbstractActionController and AbstractRestfulController

Name the four main HTTP verbs in an AbstractRestfulController and there dispatched methods?

GET: get($id) (when id present) or getList()
POST: create()
PUT: update()
DELETE: delete()

Can you provide Action() methods in an AbstractResultfulController?

Yes

The question on the page originate from the summary of the following study material:

  • A unique study and practice tool
  • Never study anything twice again
  • Get the grades you hope for
  • 100% sure, 100% understanding
Remember faster, study better. Scientifically proven.
Trustpilot Logo