ZF2 Controller Plugin
问题 I'm new to ZF2 and am having some trouble with what should be a basic idea. I'm using the ZfCommons User module for authentication, it's been installed and is operating properly. Now I want validate the user is in fact logged in from my controller based on this (How to check if the user is logged in but I can't figure out out how to register the controller plugin, I'm currently receiving this error: Zend\Mvc\Controller\PluginManager::get was unable to fetch or create an instance for