src/Leevel/Cache/File.php
protected function writeData(string $fileName, string $data): void
    {
        create_file($fileName);

        file_put_contents($fileName, $data, LOCK_EX);
    }
protected function writeData(string $fileName, string $data): void
    {
        create_file($fileName);

        file_put_contents($fileName, $data, LOCK_EX);
    }
写入缓存数据.

@param string $fileName
@param string $data