File manager - Edit - /home/linknsbh/cecil-hotel.net/vendor/botble/widget/src/Repositories/Eloquent/WidgetRepository.php
Back
<?php namespace Botble\Widget\Repositories\Eloquent; use Botble\Support\Repositories\Eloquent\RepositoriesAbstract; use Botble\Widget\Repositories\Interfaces\WidgetInterface; use Illuminate\Database\Eloquent\Collection; class WidgetRepository extends RepositoriesAbstract implements WidgetInterface { public function getByTheme(string $theme): Collection { $data = $this->model->where('theme', $theme)->get(); $this->resetModel(); return $data; } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 0.49 |
proxy
|
phpinfo
|
Settings