19 declare(strict_types=1);
    33                 protected bool $persisted,
    34                 protected array $sub_data
    38             public function isPersisted(): 
bool    40                 return $this->persisted;
    43             protected function getSubData(): \Generator
    45                 yield 
from $this->sub_data;
    48             public function exposeMarkAsChanged(): 
void    50                 $this->markAsChanged();
    58         $this->assertTrue(
$data->containsChanges());
    64         $this->assertFalse(
$data->containsChanges());
    70         $data->exposeMarkAsChanged();
    72         $this->assertTrue(
$data->containsChanges());
    82         $data->exposeMarkAsChanged();
    84         $this->assertTrue(
$data->containsChanges());
    94         $data->exposeMarkAsChanged();
    96         $this->assertTrue(
$data->containsChanges());
   101         $sub_data_1 = $this->
getData(
true);
   102         $sub_data_2 = $this->
getData(
true);
   103         $sub_data_1->exposeMarkAsChanged();
   106         $this->assertTrue(
$data->containsChanges());
 
__construct()
Constructor setup ILIAS global object  public.