Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Caffeinated
Modules
Repositories
LocalRepository
sortBy
Caffeinated\Modules\Repositories\LocalRepository::sortBy PHP Method
LocalRepository Class Documentation
Datei anzeigen
Open project: caffeinated/modules
sortBy()
public
method
Sort modules by given key in ascending order.
public
sortBy
(
string
$key
) :
Collection
$key
string
return
Collection
public function sortBy($key) { $collection = $this->all(); return $collection->sortBy($key); }
LocalRepository
all
count
createCache
disable
disabled
enable
enabled
exists
get
getCache
getCachePath
isDisabled
isEnabled
optimize
set
slugs
sortBy
sortByDesc
where