*
* @author Roland Haeder <webmaster@shipsimu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2015, 2016 City Developer Team
+ * @copyright Copyright (c) 2015 - 2023 City Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
*
parent::__construct(__CLASS__);
// Init additional filter chains
- foreach (array('shutdown') as $filterChain) {
+ foreach (['shutdown'] as $filterChain) {
$this->initFilterChain($filterChain);
- } // END - foreach
+ }
}
/**
$formAction = $requestInstance->getRequestElement('form');
// Get command instance from resolver
- $commandInstance = $this->getResolverInstance()->resolveCommand($formAction);
+ $commandInstance = $this->getResolverInstance()->resolveCommand('Org\Mxchange\City\Command', $formAction);
// Add more filters by the command
$commandInstance->addExtraFilters($this, $requestInstance);
// Execute *very* generic ppost filters
$this->executePostFilters($requestInstance, $responseInstance);
- } // END - if
+ }
// Flush the buffer out
$responseInstance->flushBuffer();