public function removeAssoc(NodeInterface $node, array $mapping)
    {
        if ($node->hasProperty($mapping['assoc'])) {
            $node->getProperty($mapping['assoc'])->remove();
        }
        if ($node->hasProperty($mapping['assocNulls'])) {
            $node->getProperty($mapping['assocNulls'])->remove();
        }
    }
public function removeAssoc(NodeInterface $node, array $mapping)
    {
        if ($node->hasProperty($mapping['assoc'])) {
            $node->getProperty($mapping['assoc'])->remove();
        }
        if ($node->hasProperty($mapping['assocNulls'])) {
            $node->getProperty($mapping['assocNulls'])->remove();
        }
    }
public function removeAssoc ( NodeInterface $ node , array $ mapping ) { if ( $ node -> hasProperty ( $ mapping [ 'assoc' ] ) ) { $ node -> getProperty ( $ mapping [ 'assoc' ] ) -> remove ( ) ; } if ( $ node -> hasProperty ( $ mapping [ 'assocNulls' ] ) ) { $ node -> getProperty ( $ mapping [ 'assocNulls' ] ) -> remove ( ) ; } }
Remove an associative array form the properties stored with the node.

@param NodeInterface $node    the node where to store the assoc array
@param array         $mapping the field's mapping
Remove an associative array form the properties stored with the node .