<?php


namespace Shop\Domain\ProductCategory\Contracts;


use Repo\CrudRepositoryBuilderInterface;
use Shop\Domain\Customer\Contracts\CustomerEntityInterface;
use Shop\Domain\ProductCategory\ProductCategoryCollection;

interface ProductCategoryRepositoryInterface extends CrudRepositoryBuilderInterface
{
    public function findByParentIdWithImage(CustomerEntityInterface $customer, $parent = null): ProductCategoryCollection;
}