19declare(strict_types=1);
47 return $this->identification;
67 if ($this->
isIn($identification)) {
70 $this->resource_identifications[] = $identification;
75 $this->resource_identifications = array_filter(
76 $this->resource_identifications,
83 foreach ($this->resource_identifications as $i) {
84 if ($i->serialize() === $identification->
serialize()) {
101 return count($this->resource_identifications);
106 $this->resource_identifications = [];
Class ResourceCollection.
getResourceIdentifications()
add(ResourceIdentification $identification)
isIn(ResourceIdentification $identification)
array $resource_identifications
__construct(private ResourceCollectionIdentification $identification, private int $owner, string $title)
Class ResourceCollectionIdentification.
Class ResourceIdentification.