*/
protected function createFileHeader () {
//* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] CALLED!', __METHOD__, __LINE__));
+
+ // The method flushFileHeader() must be callable
+ assert(is_callable(array($this, 'flushFileHeader')));
+
// The file's header should not be initialized here
assert(!$this->isFileHeaderInitialized());
$this->updateSeekPosition();
// Flush header
- $this->flushHeader();
+ $this->flushFileHeader();
// Seek to old position
$this->seekToOldPosition();
*
* @return void
*/
- private function flushFileHeader () {
+ protected function flushFileHeader () {
//* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] CALLED!', __METHOD__, __LINE__));
// Put all informations together
*
* @return void
*/
- private function flushFileHeader () {
+ protected function flushFileHeader () {
//* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] CALLED!', __METHOD__, __LINE__));
// Put all informations together