Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2485106
Resource.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
598 B
Referenced Files
None
Subscribers
None
Resource.php
View Options
<?php
namespace
App\Handlers
;
class
Resource
extends
\App\Handlers\Base
{
/**
* The entitleable class for this handler.
*
* @return string
*/
public
static
function
entitleableClass
():
string
{
return
\App\Resource
::
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
[
'readonly'
]
=
true
;
$data
[
'enabled'
]
=
true
;
return
$data
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Nov 21, 1:02 AM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
387335
Default Alt Text
Resource.php (598 B)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment