ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
NullWrapper.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 class NullWrapper implements WrapperInterface
24 {
25  public function get(): \ILIAS\Cron\Job\JobResult
26  {
27  return new \ILIAS\Cron\Job\JobResult();
28  }
29 
30  public function withStatus(int $status): WrapperInterface
31  {
32  return $this;
33  }
34 
35  public function withMessage(string $message): WrapperInterface
36  {
37  return $this;
38  }
39 }
Interface Observer Contains several chained tasks and infos about them.
$message
Definition: xapiexit.php:31