src/Cache/FileStore.php
public function put(string $path, string $contents) : int
    {
        return file_put_contents($path, $contents, LOCK_EX);
    }
public function put(string $path, string $contents) : int
    {
        return file_put_contents($path, $contents, LOCK_EX);
    }
public function put ( string $ path , string $ contents ) : int { return file_put_contents ( $ path , $ contents , LOCK_EX ) ; }
Write the contents of a file with exclusive lock.

@param string $path
@param string $contents

@return int
Write the contents of a file with exclusive lock .