RedBeanPHP\Repository::processSharedTrashcan PHP Méthode

processSharedTrashcan() protected méthode

Unassociates the list items in the trashcan.
protected processSharedTrashcan ( redbeanphp\OODBBean $bean, array $sharedTrashcan ) : void
$bean redbeanphp\OODBBean bean to process
$sharedTrashcan array list to process
Résultat void
    protected function processSharedTrashcan($bean, $sharedTrashcan)
    {
        foreach ($sharedTrashcan as $trash) {
            $this->oodb->getAssociationManager()->unassociate($trash, $bean);
        }
    }