areArraysEqual($this->getPropertyUris(), $dependsOnPropertyCollection->getPropertyUris()); } public function getPropertyUris(): array { return array_map( static function (core_kernel_classes_Property $property) { return $property->getUri(); }, $this->getArrayCopy() ); } public function isEmpty(): bool { return $this->count() === 0; } private function areArraysEqual(array $array1, array $array2): bool { return empty(array_diff($array1, $array2)) && empty(array_diff($array2, $array1)); } }