/** * @param string $file * @reutrn bool */ protected function isValid($file) { $c = file_get_contents($file); $validity = $this->iniConfiguration->get('local', 'runningFileValidity'); return $c + $validity >= time(); }