code: public function getControllerNameAndAction(Request $request) {
  		$controller = $this->_registry->getController();
  		$name = $controller->name;
  		$action = $request->action;
  
  		if (!empty($request->params['plugin'])) {
  			$name = Inflector::camelize($request->params['plugin']) . '.' . $name;
  		}
  		return compact('name', 'action');
  	}
docs: Gets the controller and action, prefixes the controller with the plugin if there is one
  
  @param Request $request
  @return array