Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Cartalyst
Tags
TaggableInterface
scopeWithTag
Cartalyst\Tags\TaggableInterface::scopeWithTag PHP Method
TaggableInterface Interface Documentation
Exibir arquivo
Open project: cartalyst/tags
scopeWithTag()
public
static
method
Returns the entities with one of the given tags.
public
static
scopeWithTag
(
Builder
$query
,
string
|
array
$tags
,
string
$type
= 'slug' ) :
Builder
$query
Illuminate\Database\Eloquent\Builder
$tags
string
|
array
$type
string
return
Illuminate\Database\Eloquent\Builder
public static function scopeWithTag(Builder $query, $tags, $type = 'slug');
TaggableInterface
addTag
allTags
createTagsModel
getSlugGenerator
getTagsDelimiter
getTagsModel
prepareTags
removeTag
scopeWhereTag
scopeWithTag
scopeWithoutTag
setSlugGenerator
setTags
setTagsDelimiter
setTagsModel
tag
tags
untag