Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Cviebrock
EloquentSluggable
Tests
Models
PostWithUniqueSlugConstraints
PHP 클래스 Cviebrock\EloquentSluggable\Tests\Models\PostWithUniqueSlugConstraints
상속:
extends
Cviebrock\EloquentSluggable\Tests\Models\Post
파일 보기
프로젝트 열기: cviebrock/eloquent-sluggable
1 사용 예제들
공개 메소드들
메소드
설명
author
( ) :
BelongsTo
Relation to Author model.
scopeWithUniqueSlugConstraints
(
Builder
$query
,
Model
$model
,
string
$attribute
,
array
$config
,
string
$slug
) :
Builder
메소드 상세
author()
공개
메소드
Relation to Author model.
public
author
( ) :
BelongsTo
리턴
Illuminate\Database\Eloquent\Relations\BelongsTo
scopeWithUniqueSlugConstraints()
공개
메소드
public
scopeWithUniqueSlugConstraints
(
Builder
$query
,
Model
$model
,
string
$attribute
,
array
$config
,
string
$slug
) :
Builder
$query
Illuminate\Database\Eloquent\Builder
$model
Illuminate\Database\Eloquent\Model
$attribute
string
$config
array
$slug
string
리턴
Illuminate\Database\Eloquent\Builder