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
Owl
Repositories
LikeRepositoryInterface
firstOrCreate
Owl\Repositories\LikeRepositoryInterface::firstOrCreate PHP Method
LikeRepositoryInterface Interface Documentation
Show file
Open project: owl/owl
firstOrCreate()
public
method
get "Like data" or Store a "Like data".
public
firstOrCreate
(
$user_id
,
$item_id
) :
Illuminate\Database\Eloquent\Model
$user_id
int user_id
$item_id
int item_id
return
Illuminate\Database\Eloquent\Model
public function firstOrCreate($user_id, $item_id);
LikeRepositoryInterface
destroy
firstOrCreate
get