summaryrefslogtreecommitdiff
path: root/src/jobs/CreateFile.php
blob: 439925fe76c35a1099e28511010715212695d45e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

namespace jobs;

class CreateFile extends \Job
{

    public function run()
    {
        $file = $this->input['file'];
        if (!touch($file))
            throw new \Exception("failed to touch file '".$file."'");
    }

}