protected function getMissingBaseProperties(array $properties = null)
    {
        $basePropertyKeys = PropertyIds::getBasePropertyKeys();

        if ($properties === null) {
            return $basePropertyKeys;
        }

        foreach ($properties as $property) {
            $propertyId = $property->getId();
            $basePropertyKey = array_search($propertyId, $basePropertyKeys);
            if ($basePropertyKey !== false) {
                unset($basePropertyKeys[$basePropertyKey]);
            }
        }

        return $basePropertyKeys;
    }
protected function getMissingBaseProperties(array $properties = null)
    {
        $basePropertyKeys = PropertyIds::getBasePropertyKeys();

        if ($properties === null) {
            return $basePropertyKeys;
        }

        foreach ($properties as $property) {
            $propertyId = $property->getId();
            $basePropertyKey = array_search($propertyId, $basePropertyKeys);
            if ($basePropertyKey !== false) {
                unset($basePropertyKeys[$basePropertyKey]);
            }
        }

        return $basePropertyKeys;
    }
protected function getMissingBaseProperties ( array $ properties = null ) { $ basePropertyKeys = PropertyIds :: getBasePropertyKeys ( ) ; if ( $ properties === null ) { return $ basePropertyKeys ; } foreach ( $ properties as $ property ) { $ propertyId = $ property -> getId ( ) ; $ basePropertyKey = array_search ( $ propertyId , $ basePropertyKeys ) ; if ( $ basePropertyKey !== false ) { unset ( $ basePropertyKeys [ $ basePropertyKey ] ) ; } } return $ basePropertyKeys ; }
Returns a list of missing property keys

@param PropertyDefinitionInterface[]|null $properties
@return array
Returns a list of missing property keys