src/FondOfSpryker/Zed/BrandProduct/Persistence/BrandProductEntityManager.php
public function deleteBrandProductRelations(int $idProductAbstract, array $brandIds): void
    {
        if (count($brandIds) === 0) {
            return;
        }

        $this->getFactory()
            ->getBrandProductQuery()
            ->filterByFkProductAbstract($idProductAbstract)
            ->filterByFkBrand_In($brandIds)
            ->delete();
    }
public function deleteBrandProductRelations(int $idProductAbstract, array $brandIds): void
    {
        if (count($brandIds) === 0) {
            return;
        }

        $this->getFactory()
            ->getBrandProductQuery()
            ->filterByFkProductAbstract($idProductAbstract)
            ->filterByFkBrand_In($brandIds)
            ->delete();
    }
public function deleteBrandProductRelations ( int $ idProductAbstract , array $ brandIds ) : void { if ( count ( $ brandIds ) === 0 ) { return ; } $ this -> getFactory ( ) -> getBrandProductQuery ( ) -> filterByFkProductAbstract ( $ idProductAbstract ) -> filterByFkBrand_In ( $ brandIds ) -> delete ( ) ; }
Delete brand product relation

@param int $idProductAbstract
@param array $brandIds

@return void
Delete brand product relation