/** * Returns the modification time of the file as Unix timestamp * * @return int */ public function getModificationTime() { return (int) $this->originalFile->getModificationTime(); }
/** * Returns the checksum that makes the processed configuration unique * also takes the mtime and the uid into account, to find out if the * process needs to be done again * * @return string */ public function calculateChecksum() { return \TYPO3\CMS\Core\Utility\GeneralUtility::shortMD5($this->originalFile->getUid() . $this->originalFile->getModificationTime() . $this->context . serialize($GLOBALS['TYPO3_CONF_VARS']['GFX']) . serialize($this->processingConfiguration)); }