19 declare(strict_types=1);
59 return $this->owner !== self::NO_SPECIFIC_OWNER;
74 if ($this->
isIn($identification)) {
82 $this->resource_identifications = array_filter(
83 $this->resource_identifications,
90 foreach ($this->resource_identifications as $i) {
91 if ($i->serialize() === $identification->
serialize()) {
108 return count($this->resource_identifications);
113 $this->resource_identifications = [];
getResourceIdentifications()
ResourceCollectionIdentification $identification
__construct(ResourceCollectionIdentification $identification, int $owner, string $title)
Class ResourceCollectionIdentification.
isIn(ResourceIdentification $identification)
Class ResourceCollection.
array $resource_identifications
Class ResourceIdentification.
add(ResourceIdentification $identification)