Page MenuHomePhorge

Mailbox.php
No OneTemporary

Authored By
Unknown
Size
746 B
Referenced Files
None
Subscribers
None

Mailbox.php

<?php
namespace App\Handlers;
use App\Sku;
use App\User;
class Mailbox extends Base
{
/**
* The entitleable class for this handler.
*/
public static function entitleableClass(): string
{
return User::class;
}
/**
* SKU handler metadata.
*/
public static function metadata(Sku $sku): array
{
$data = parent::metadata($sku);
// Mailbox is always enabled and cannot be unset
$data['readonly'] = true;
$data['enabled'] = true;
return $data;
}
/**
* The priority that specifies the order of SKUs in UI.
* Higher number means higher on the list.
*/
public static function priority(): int
{
return 100;
}
}

File Metadata

Mime Type
text/x-php
Expires
Fri, Apr 24, 2:02 PM (1 w, 4 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18741600
Default Alt Text
Mailbox.php (746 B)

Event Timeline