Changeset View
Changeset View
Standalone View
Standalone View
src/app/Handlers/Meet.php
- This file was added.
<?php | |||||
namespace App\Handlers; | |||||
class Meet extends 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); | |||||
$data['required'] = ['groupware']; | |||||
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 50; | |||||
} | |||||
} |