src/Cronner/TimestampStorage/FileStorage.php
public function loadLastRunTime()
	{
		$date = NULL;
		$filepath = $this->buildFilePath();
		if (file_exists($filepath)) {
			$date = file_get_contents($filepath);
			$date = DateTime::createFromFormat(self::DATETIME_FORMAT, $date);
		}

		return $date ? $date : NULL;
	}
public function loadLastRunTime()
	{
		$date = NULL;
		$filepath = $this->buildFilePath();
		if (file_exists($filepath)) {
			$date = file_get_contents($filepath);
			$date = DateTime::createFromFormat(self::DATETIME_FORMAT, $date);
		}

		return $date ? $date : NULL;
	}
public function loadLastRunTime ( ) { $ date = NULL ; $ filepath = $ this -> buildFilePath ( ) ; if ( file_exists ( $ filepath ) ) { $ date = file_get_contents ( $ filepath ) ; $ date = DateTime :: createFromFormat ( self :: DATETIME_FORMAT , $ date ) ; } return $ date ? $ date : NULL ; }
Returns date and time of last cron task invocation.

@return DateTimeInterface|null
Returns date and time of last cron task invocation .