ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
NullDIC.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
27 class 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 }
An object that looks like a Dependency Injection Container but actually does nothing.
Definition: NullDIC.php:27
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23