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
App
Models
Forum
Post
scopeLast
App\Models\Forum\Post::scopeLast PHP Method
Post Class Documentation
Show file
Open project: ppy/osu-web
scopeLast()
public
method
public
scopeLast
(
$query
)
public function scopeLast($query) { return $query->orderBy('post_time', 'desc')->limit(1); }
Post
edit
forum
getBodyHTMLAttribute
getBodyRawAttribute
getPostPositionAttribute
lastEditor
lastEditorNormalized
lastUnreadByUser
normalizeUser
scopeLast
setPostTextAttribute
topic
user
userNormalized