mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 08:12:40 +01:00
14 lines
372 B
PHP
14 lines
372 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* Registers a resource map for Celerity. This is glue code between the Celerity
|
||
|
* mapper script and @{class:CelerityResourceMap}.
|
||
|
*
|
||
|
* @group celerity
|
||
|
*/
|
||
|
function celerity_register_resource_map(array $map, array $package_map) {
|
||
|
$instance = CelerityResourceMap::getInstance();
|
||
|
$instance->setResourceMap($map);
|
||
|
$instance->setPackageMap($package_map);
|
||
|
}
|