From 9a98ac50ff50dda2f2eed1ea825352c50c64440e Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Fri, 7 May 2021 23:39:20 +0300 Subject: initial --- src/jobs/CreateFile.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/jobs/CreateFile.php (limited to 'src/jobs/CreateFile.php') diff --git a/src/jobs/CreateFile.php b/src/jobs/CreateFile.php new file mode 100644 index 0000000..439925f --- /dev/null +++ b/src/jobs/CreateFile.php @@ -0,0 +1,15 @@ +input['file']; + if (!touch($file)) + throw new \Exception("failed to touch file '".$file."'"); + } + +} -- cgit v1.2.3