* @param $infoInstance The FQFN of the last read file
* @return void
*/
- private final function setLastFile (SplFileInfo $infoInstance) {
+ private function setLastFile (SplFileInfo $infoInstance) {
// Cast string and set it
$this->lastFile = $infoInstance;
}
* @param $contents An array with header and data elements
* @return void
*/
- private final function setLastFileContents (array $contents) {
+ private function setLastFileContents (array $contents) {
// Set array
$this->lastContents = $contents;
}
*
* @return void
*/
- private final function initCacheInstance () {
+ private function initCacheInstance () {
// Set "cache" attributes
//* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage('BASE-DATABASE-FRONTEND: CALLED!');
$this->databaseCacheEnabled = FrameworkBootstrap::getConfigurationInstance()->isEnabled('database_cache');
*
* @return $parserInstance An instance of an Parseable
*/
- private final function getParserInstance () {
+ private function getParserInstance () {
return $this->parserInstance;
}
* @param $colorChannel Red, green or blue channel?
* @param $colorValue Value to set
*/
- private final function setColor (string $colorMode, string $colorChannel, $colorValue) {
+ private function setColor (string $colorMode, string $colorChannel, $colorValue) {
// Construct the eval() command
$eval = sprintf("\$this->%s['%s'] = \"%s\";",
$colorMode,
* @param $variableName Template variable name to add
* @return void
*/
- private final function addTemplateVariable ($section, $variableName) {
+ private function addTemplateVariable ($section, $variableName) {
// Get template name
$templateName = $this->getTemplateName();
* @param $template The last loaded template
* @return void
*/
- private final function setLastTemplate (SplFileInfo $fileInstance) {
+ private function setLastTemplate (SplFileInfo $fileInstance) {
$this->lastTemplate = $fileInstance;
}
*
* @return $template The last loaded template
*/
- private final function getLastTemplate () {
+ private function getLastTemplate () {
return $this->lastTemplate;
}
* @param $compiledData Compiled template data
* @return void
*/
- private final function setCompiledData (string $compiledData) {
+ private function setCompiledData (string $compiledData) {
// And store it in this class
$this->compiledData = $compiledData;
}
*
* @return $menuInstance A RenderableMenu instance
*/
- private final function getMenuInstance () {
+ private function getMenuInstance () {
return $this->menuInstance;
}
* @param $element Element name to set as current main node
* @return $currMainNode Current main node
*/
- private final function setCurrMainNode (string $element) {
+ private function setCurrMainNode (string $element) {
$this->curr['main_node'] = $element;
}
* @param $element Element name to set as current main node
* @return $currMainNode Current main node
*/
- private final function setCurrMainNode (string $element) {
+ private function setCurrMainNode (string $element) {
$this->curr['main_node'] = $element;
}
*
* @return void
*/
- private final function saveBackTrace () {
+ private function saveBackTrace () {
// Get full backtrace
$this->backTrace = debug_backtrace();
* @param $backendInstance An instance of a DatabaseBackend class
* @return void
*/
- private final function setBackendInstance (DatabaseBackend $backendInstance) {
+ private function setBackendInstance (DatabaseBackend $backendInstance) {
$this->backendInstance = $backendInstance;
}