Bolt\Storage\Database\Schema\Timer::setCheckRequired PHP Метод

setCheckRequired() публичный Метод

Invalidate our database check by removing the timestamp file from cache.
public setCheckRequired ( )
    public function setCheckRequired()
    {
        try {
            $this->expired = true;
            $this->cacheFile->delete();
        } catch (FileNotFoundException $e) {
            // Don't need to delete the file, it isn't there
        } catch (IOException $e) {
            $message = sprintf('Unable to remove database schema check timestamp: %s', $e->getMessage());
            throw new StorageException($message, $e->getCode(), $e);
        }
    }