]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/class_BaseFrameworkSystem.php
readFileHeader() needs to have protected access level + assert on it.
[core.git] / inc / classes / main / class_BaseFrameworkSystem.php
index 29d5459ceecb3a56194ca8a5e91f09930a3ba64f..1710381fbb82e5707fadb1bf90b82d3fa7b2ee3e 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;