ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
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(): \ilCronJobResult
26  {
27  return new \ilCronJobResult();
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 }