You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

14 lines
343 B

<?php
namespace App\Service\v3\Implementations;
use App\Model\v3\Banner;
use App\Service\v3\Interfaces\BannerServiceInterface;
class BannerService implements BannerServiceInterface
{
public function all($type, $marketId)
{
return Banner::query()->where(['type' => $type, 'market_id' => $marketId])->get()->toArray();
}
}