// Import framework stuff
use Org\Mxchange\CoreFramework\Controller\Controller;
-use Org\Mxchange\CoreFramework\Registry\Registry;
+use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
use Org\Mxchange\CoreFramework\Request\Requestable;
use Org\Mxchange\CoreFramework\Resolver\Command\CommandResolver;
use Org\Mxchange\CoreFramework\Response\Responseable;
*/
public function execute (Requestable $requestInstance, Responseable $responseInstance) {
// Get the action instance from registry
- $actionInstance = Registry::getRegistry()->getInstance('action');
+ $actionInstance = GenericRegistry::getRegistry()->getInstance('action');
// Do we have an action here?
if ($actionInstance instanceof PerformableAction) {
$actionInstance = NULL;
// Get registry
- $registryInstance = Registry::getRegistry();
+ $registryInstance = GenericRegistry::getRegistry();
// Get our application instance from the registry
$applicationInstance = $registryInstance->getInstance('application');
$actionInstance->addExtraFilters($controllerInstance, $requestInstance);
// Remember this action in registry
- Registry::getRegistry()->addInstance('action', $actionInstance);
+ GenericRegistry::getRegistry()->addInstance('action', $actionInstance);
}
}