MiniAsset\Output\AssetWriter::_readTimestamp PHP Method

_readTimestamp() protected method

Read timestamps from either the fast cache, or the serialized file.
protected _readTimestamp ( ) : array
return array An array of timestamps for build files.
    protected function _readTimestamp()
    {
        $data = array();
        if (empty($data) && file_exists($this->path . static::BUILD_TIME_FILE)) {
            $data = file_get_contents($this->path . static::BUILD_TIME_FILE);
            if ($data) {
                $data = unserialize($data);
            }
        }
        return $data;
    }