public function create(string $resourceClass, array $options = []): PropertyNameCollection
    {
        $propertyNameCollection = $this->propertyNameCollectionFactory->create($resourceClass, $options);
        if (is_a($resourceClass, DataInterface::class, true)) {
            $resolvedProperties = [];
            foreach ($propertyNameCollection as $propertyName) {
                if (!\in_array($propertyName, $this->ignoredAttributes, true)) {
                    $resolvedProperties[] = $propertyName;
                }
            }
            $propertyNameCollection = new PropertyNameCollection($resolvedProperties);
        }

        return $propertyNameCollection;
    }