60 $providedProperties = [];
63 $providedProperties = array_merge(
71 $sameItems = array_intersect($requiredProperties, $providedProperties);
73 if (count($sameItems) !== count($requiredProperties)) {
74 $missingProperties = array_diff($requiredProperties, $sameItems);
76 throw InvalidComponent::requiredPropertyMissing($missingProperties, $this);