19 declare(strict_types=1);
39 $path_to_authors = $this->lom_services->paths()->authors();
40 $author_data = $this->lom_services->read($obj_id, $sub_id, $type, $path_to_authors)
41 ->allData($path_to_authors);
43 return $this->lom_services->dataHelper()->makePresentableAsList(
',', ...$author_data);
52 $path_to_lifecycle = $this->lom_services->paths()->custom()->withNextStep(
'lifeCycle')->get();
53 $path_to_authors = $this->lom_services->paths()->authors();
55 $reader = $this->lom_services->read($obj_id, $sub_id, $type, $path_to_lifecycle);
56 if (!is_null($reader->allData($path_to_lifecycle)->current())) {
60 $this->lom_services->manipulate($obj_id, $sub_id, $type)
61 ->prepareCreateOrUpdate($path_to_authors, $author)