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
Plank
Mediable
Mediable
newCollection
Plank\Mediable\Mediable::newCollection PHP Method
Mediable Trait Documentation
Show file
Open project: plank/laravel-mediable
newCollection()
public
method
public
newCollection
(
array
$models
= [] ) :
Plank\Mediable\MediableCollection
$models
array
return
Plank\Mediable\MediableCollection
public function newCollection(array $models = []) { return new MediableCollection($models); }
Mediable
addMatchAllToEagerLoadQuery
attachMedia
bootMediable
detachMedia
detachMediaTags
extractIds
firstMedia
getAllMediaByTag
getMedia
getMediaMatchAll
getOrderValueForTags
getTagsForMedia
handleMediableDeletion
hasMedia
load
loadMedia
loadMediaMatchAll
markMediaDirty
media
mediaIsDirty
newCollection
newMatchAllQuery
rehydrateMediaIfNecessary
rehydratesMedia
scopeWhereHasMedia
scopeWhereHasMediaMatchAll
scopeWithMedia
scopeWithMediaMatchAll
syncMedia