Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Socieboy
Forum
Entities
Libs
BaseRepo
findBySlug
Socieboy\Forum\Entities\Libs\BaseRepo::findBySlug PHP Method
BaseRepo Class Documentation
Show file
Open project: socieboy/forum
findBySlug()
public
method
public
findBySlug
(
$slug
)
public function findBySlug($slug) { return $this->model->where('slug', $slug)->get()->first(); }
BaseRepo
__construct
all
find
findBySlug
findOrFail
groupBy
latest
lists
model
onlyTrashed
orderBy
paginate
shuffle
take
where
whereIn
withTrashed