19 declare(strict_types=1);
44 ResourceCollectionIdentification $identification,
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 = [];
ResourceCollectionIdentification $identification
Class ResourceCollection.
Class ResourceIdentification.
isIn(ResourceIdentification $identification)
add(ResourceIdentification $identification)
getResourceIdentifications()
__construct(ResourceCollectionIdentification $identification, int $owner, string $title)
array $resource_identifications