Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

Письменов Дмитрий Иванович / yourroomads

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • yourroomads
  • app
  • Models
  • Dictionary.php
  • Vladislav's avatar
    #19461 Страница настройки целевых аккаунтов · 93ef4562
    Vladislav committed May 14, 2021
    93ef4562 Browse Files
Dictionary.php 243 Bytes
BlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Builder;

class Dictionary extends Model
{
    CONST CITY = 'City';

    public function scopeDefaultOrderBy(Builder $query)
    {
        return $query->orderBy('name');
    }

}