Page MenuHomePhorge

Mailbox.php
No OneTemporary

Authored By
Unknown
Size
875 B
Referenced Files
None
Subscribers
None

Mailbox.php

<?php
namespace App\Handlers;
class Mailbox extends \App\Handlers\Base
{
/**
* The entitleable class for this handler.
*
* @return string
*/
public static function entitleableClass(): string
{
return \App\User::class;
}
/**
* SKU handler metadata.
*
* @param \App\Sku $sku The SKU object
*
* @return array
*/
public static function metadata(\App\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.
*
* @return int
*/
public static function priority(): int
{
return 100;
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Apr 4, 2:56 AM (4 d, 13 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
65/e0/6e4ac7ceda5f39c6226ab0058c8e
Default Alt Text
Mailbox.php (875 B)

Event Timeline