use CoreFramework\Command\Commandable;
use CoreFramework\Controller\Controller;
use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Registry\Registry;
use CoreFramework\Request\Requestable;
use CoreFramework\Resolver\Command\CommandResolver;
use CoreFramework\Response\Responseable;
*/
public function execute (Requestable $requestInstance, Responseable $responseInstance) {
// Get the application instance
- $applicationInstance = $this->getResolverInstance()->getApplicationInstance();
+ $applicationInstance = Registry::getRegistry()->getInstance('app');
// Prepare a template instance
$templateInstance = $this->prepareTemplateInstance($applicationInstance);