public function unregisterModel(PortableElementObject $object){
        $registry = $object->getModel()->getRegistry();
        $registry->delete($object);
        return true;
    }
public function unregisterModel(PortableElementObject $object){
        $registry = $object->getModel()->getRegistry();
        $registry->delete($object);
        return true;
    }
public function unregisterModel ( PortableElementObject $ object ) { $ registry = $ object -> getModel ( ) -> getRegistry ( ) ; $ registry -> delete ( $ object ) ; return true ; }
Unregister the portable element

@param PortableElementObject $object
@return bool
@throws PortableElementVersionIncompatibilityException
Unregister the portable element