69 $this->
logger->debug(
"Calling zip...");
70 $this->
logger->debug(
"... dir: " . $tmpdir);
71 $this->
logger->debug(
"... file: " . $tmpdir .
'.zip');
75 $this->
logger->debug(
"Deleting dir: " . $tmpdir);
78 $this->
logger->debug(
"Check zip file exists.");
79 if (is_file($tmpdir .
'.zip')) {
80 $this->
logger->debug(
"File ok.");
82 $this->
logger->debug(
"File missing.");
86 $zip_file_name->setValue($tmpdir .
'.zip');
87 return $zip_file_name;
static zip(string $a_dir, string $a_file, bool $compress_content=false)
static delDir(string $a_dir, bool $a_clean_only=false)
removes a dir and all its content (subdirs and files) recursively
Component logger with individual log levels by component id.
Description of class class.
run(array $input, Observer $observer)
getExpectedTimeOfTaskInSeconds()