21 lines
643 B
PHP
21 lines
643 B
PHP
<?php
|
|
|
|
namespace App\Repositories\Module\IpAddress;
|
|
|
|
use App\Repositories\BaseRepositoryInterface;
|
|
|
|
interface IpAddressRepositoryInterface extends BaseRepositoryInterface
|
|
{
|
|
public function filter(
|
|
array $data = [],
|
|
array $relationships = [],
|
|
array $withCount = [],
|
|
array $select = ['*'],
|
|
bool $returnQuery = false
|
|
);
|
|
public function updateBy(array $condistions = [], array $data = []);
|
|
public function findBy(string $key = '', string|int|null $value = '');
|
|
public function findWithRelationships(int $id = 0, array $relationships = [], array $withCount = [], array $withSum = []);
|
|
|
|
}
|