Page MenuHomePhorge

Quota.php
No OneTemporary

Quota.php

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Quota extends Model
{
protected $keyType = 'bigint';
protected $casts = [
'value' => 'int',
];
public function entitlement()
{
return $this->morphOne('App\Entitlement', 'entitleable');
}
/**
* The owner of this quota entry
*
* @return \App\User
*/
public function user()
{
return $this->belongsTo('App\User', 'user_id', 'id');
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Aug 25, 9:34 PM (6 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
233823
Default Alt Text
Quota.php (488 B)

Event Timeline