public function filePut($file, $data)
{
$file = $this->alias->resolve($file);
$this->_dirCreate(dirname($file));
if (file_put_contents($file, $data, LOCK_EX) === false) {
throw new FileException('write `:file` file failed: :last_error_message', ['file' => $file]);
}
}