*
* @param $tplEngine An instance of TemplateEngine
*/
- private function setSelectorTemplateEngine (CompileableTemplate $tplEngine) {
+ private final function setSelectorTemplateEngine (CompileableTemplate $tplEngine) {
$this->selectorTplEngine = $tplEngine;
}
*
* @return $selectTplEngine The selector's template engine
*/
- private function getSelectorTemplateEngine () {
+ private final function getSelectorTemplateEngine () {
return $this->selectorTplEngine;
}
* @return $loadedTemplates An array object holding all loaded
* application templates
*/
- private function getLoadedTemplates () {
+ private final function getLoadedTemplates () {
return $this->loadedTemplates;
}
}
// Setter for ship instance
- private function setShipInstance (ConstructableShip $shipInstance) {
+ private final function setShipInstance (ConstructableShip $shipInstance) {
if ((defined('DEBUG_CONTRACT')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Das Schiff <strong>%s</strong> wird in den Bauvertrag aufgenommen.<br />\n",
__CLASS__,
__LINE__,
}
// Setter for ship name
- private function setShipName ($shipName) {
+ private final function setShipName ($shipName) {
if ((defined('DEBUG_CONTRACT')) || (defined('DEBUG_ALL'))) $this->getDebugInstance()->output(sprintf("[%s:%d] Das neue Schiff wird <strong>%s</strong> heissen.<br />\n",
__CLASS__,
__LINE__,
* @param $cacheList The new cache list to set or null for initialization/reset
* @return void
*/
- private function setAllCacheList (FrameworkArrayObject $cacheList = null) {
+ private final function setAllCacheList (FrameworkArrayObject $cacheList = null) {
$this->cacheList = $cacheList;
}
* @param $cacheCond The new cache conditions to set
* @return void
*/
- private function setCacheCond ($cacheCond) {
+ private final function setCacheCond ($cacheCond) {
$this->cacheCond = (string) $cacheCond;
}
* @param $fqfn The FQFN of the last read file
* @return void
*/
- private function setLastFile ($fqfn) {
+ private final function setLastFile ($fqfn) {
// Cast string
$fqfn = (string) $fqfn;
$this->lastFile = $fqfn;
* @param $contents An array with header and data elements
* @return void
*/
- private function setLastFileContents ($contents) {
+ private final function setLastFileContents ($contents) {
// Cast array
$contents = (array) $contents;
$this->lastContents = $contents;