Page MenuHomePhorge

Mailbox.php
No OneTemporary

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
Fri, Nov 21, 7:14 AM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
387422
Default Alt Text
Mailbox.php (875 B)

Event Timeline