* @license GNU GPL 3.0 or any newer version
*
* This program is free software: you can redistribute it and/or modify
* @license GNU GPL 3.0 or any newer version
*
* This program is free software: you can redistribute it and/or modify
Registry::getRegistry()->addInstance('app', $this);
// Default response is console
Registry::getRegistry()->addInstance('app', $this);
// Default response is console
- $response = $this->getResponseTypeFromSystem();
- $responseType = $this->getResponseTypeFromSystem();
+ $response = self::getResponseTypeFromSystem();
+ $responseType = self::getResponseTypeFromSystem();
// Create a new request object
$requestInstance = ObjectFactory::createObjectByName($this->convertToClassName($response) . 'Request');
// Create a new request object
$requestInstance = ObjectFactory::createObjectByName($this->convertToClassName($response) . 'Request');