ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
NullDIC.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
27class NullDIC implements \ArrayAccess
28{
29 public function offsetSet($id, $value): void
30 {
31 }
32
33 public function offsetGet($id): null
34 {
35 return null;
36 }
37
38 public function offsetExists($id): false
39 {
40 return false;
41 }
42
43 public function offsetUnset($id): void
44 {
45 }
46}
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
An object that looks like a Dependency Injection Container but actually does nothing.
Definition: NullDIC.php:28