the browser-facing portion of osu!
at master 706 B view raw
1<?php 2 3// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0. 4// See the LICENCE file in the repository root for full licence text. 5 6namespace App\Models; 7 8/** 9 * @property \Illuminate\Database\Eloquent\Collection $artists Artist 10 * @property \Carbon\Carbon|null $created_at 11 * @property string $description 12 * @property string $header_url 13 * @property string $icon_url 14 * @property int $id 15 * @property string $name 16 * @property string|null $soundcloud 17 * @property \Carbon\Carbon|null $updated_at 18 * @property string|null $website 19 */ 20class Label extends Model 21{ 22 public function artists() 23 { 24 return $this->hasMany(Artist::class); 25 } 26}