19 lines
631 B
PHP
19 lines
631 B
PHP
<?php
|
|
|
|
namespace App\Repositories\Customer;
|
|
|
|
use App\Repositories\BaseRepositoryInterface;
|
|
|
|
interface CustomerRepositoryInterface extends BaseRepositoryInterface
|
|
{
|
|
public function filter(
|
|
array $data = [],
|
|
array $relationships = [],
|
|
array $withCount = [],
|
|
array $select = ['*'],
|
|
bool $returnQuery = false
|
|
);
|
|
public function findWithRelationships(int $id = 0, array $relationships = [],array $withCount = [], array $withSum = []);
|
|
public function findBy(string $key = '',string $value = '');
|
|
public function onlyTrashed(array $relationships = [], array $withCount = []);
|
|
} |