* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
abstract class BaseRegistration extends BaseFrameworkSystem implements UserRegister {
- /**
- * Instance of a request class
- */
- private $requestInstance = null;
-
- /**
- * Instance of a response class
- */
- private $responseInstance = null;
-
/**
* Pre-registration filter chain
*/
*/
protected function initFilterChains () {
// Pre/post-registration filters
- $this->preRegistrationFilter = ObjectFactory::createObjectByConfiguredName('filter_chain');
- $this->postRegistrationFilter = ObjectFactory::createObjectByConfiguredName('filter_chain');
- }
-
- /**
- * Setter for request instance
- *
- * @param $requestInstance An instance of a Requestable class
- * @return void
- */
- public final function setRequestInstance (Requestable $requestInstance) {
- $this->requestInstance = $requestInstance;
- }
-
- /**
- * Getter for request instance
- *
- * @return $requestInstance An instance of a Requestable class
- */
- public final function getRequestInstance () {
- return $this->requestInstance;
- }
-
- /**
- * Setter for response instance
- *
- * @param $responseInstance An instance of a Responseable class
- * @return void
- */
- public final function setResponseInstance (Responseable $responseInstance) {
- $this->responseInstance = $responseInstance;
- }
-
- /**
- * Getter for response instance
- *
- * @return $responseInstance An instance of a Responseable class
- */
- public final function getResponseInstance () {
- return $this->responseInstance;
+ $this->preRegistrationFilter = ObjectFactory::createObjectByConfiguredName('filter_chain_class');
+ $this->postRegistrationFilter = ObjectFactory::createObjectByConfiguredName('filter_chain_class');
}
/**