19 declare(strict_types=1);
43 $this->
logger = $DIC->logger()->cal();
79 $this->
logger->debug(
'Start zipping input dir!');
80 $tmpdir = $input[0]->getValue();
81 $this->
logger->debug(
'Zipping directory:' . $tmpdir);
89 $zip_file_name->setValue($tmpdir .
'.zip');
90 return $zip_file_name;
getExpectedTimeOfTaskInSeconds()
int the amount of seconds this task usually taskes. If your task-duration scales with the the amount ...
static delDir(string $a_dir, bool $a_clean_only=false)
removes a dir and all its content (subdirs and files) recursively
Description of class class.
static zip(string $a_dir, string $a_file, bool $compress_content=false)
run(array $input, Observer $observer)