• 1000 запрос.
Как это настроить?
Мой репозиторий:
public function getSitesImminence()
{
$arraySites = PublicationSite::
select('sites_id')
->where('publi_code', '=', 'imminence_intercab')
->where('publi_status', '>', '0')
->get();
return $arraySites;
}
public function getManufacturersMls($arraySites){
$arrayManufacturers = Site::
select('manufacturers_list')
->where('sites_id', '=', $arraySites)
->get();
return $arrayManufacturers;
}
Мой контроллер:
$toto = $siteRepository->getSitesImminence()->getManufacturersMls($arraySites);
Моя ошибка:
Method getManufacturersMls does not exist.