How to use some php constants in laravel ... public function scopePublished($query) { return $query->whereStatus(static::STATUS_PUBLISHED); } } Copy Code
確定! 回上一頁