19declare(strict_types=1);
23use PHPUnit\Framework\TestCase;
45 public function getMDID():
int|
NoID
50 public function isRoot():
bool
59 $root = $this->getRoot();
60 $set = $this->getBaseSet($root);
62 $this->assertSame($root, $set->getRoot());
69 $this->expectException(\ilMDElementsException::class);
70 $set = $this->getBaseSet($not_root);
75 $root = $this->getRoot();
76 $set = $this->getBaseSet($root);
78 $cloned_set = clone $set;
79 $this->assertEquals($root, $cloned_set->getRoot());
80 $this->assertNotSame($root, $cloned_set->getRoot());
__construct()
Constructor setup ILIAS global object @access public.
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc