readFileHeader() needs to have protected access level + assert on it.
[core.git] / inc / classes / main / class_BaseFrameworkSystem.php
index 29d5459..1710381 100644 (file)
@@ -2958,6 +2958,9 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
         * @return      $isInitialized  Whether the file header is initialized
         */
        protected function isFileHeaderInitialized () {
+               // Is the method there?
+               assert(is_callable(array($this, 'readFileHeader')));
+
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] CALLED!', __METHOD__, __LINE__));
                // Default is not initialized
                $isInitialized = FALSE;