Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1361101
CelerityStuffFromExtensions
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Authored By
avivey
Feb 12 2024, 19:45
2024-02-12 19:45:01 (UTC+0)
Size
765 B
Referenced Files
None
Subscribers
None
CelerityStuffFromExtensions
View Options
<?php
final
class
CelerityStuffFromExtensions
extends
CelerityResourcesOnDisk
{
private
$map
;
public
function
getName
(
)
{
return
'src-extensions'
;
}
public
function
getPathToResources
(
)
{
return
__DIR__
.
'/rsrc'
;
}
public
function
getPathToMap
(
)
{
// throw new Exception("Generated at runtime");
return
'/dev/null'
;
}
public
function
loadMap
(
)
{
if
(
$this
->
map
===
null
)
{
$generator
=
new
CelerityResourceMapGenerator
(
$this
)
;
$data
=
$generator
->
generate
(
)
;
$this
->
map
=
array
(
'names'
=>
$data
->
getNameMap
(
)
,
'symbols'
=>
$data
->
getSymbolMap
(
)
,
'requires'
=>
$data
->
getRequiresMap
(
)
,
'packages'
=>
$data
->
getPackageMap
(
)
,
)
;
}
return
$this
->
map
;
}
}
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
476015
Default Alt Text
CelerityStuffFromExtensions (765 B)
Attached To
Mode
P31 CelerityStuffFromExtensions
Attached
Detach File
Event Timeline
Log In to Comment