Acacha\Llum\Traits\TouchSqliteFile::touchFile PHP Method

touchFile() protected method

Touch a file.
protected touchFile ( string $file )
$file string
    protected function touchFile($file)
    {
        passthru('touch ' . $file, $error);
        if ($error !== 0) {
            $this->output->writeln('<error>Error creating file ' . $file . '</error>');
        } else {
            $this->output->writeln('<info>File ' . $file . ' created successfully</info>');
        }
    }