function xautoload_ServiceFactory::schedule in X Autoload 7.3
Drupal bootstrap registration schedule.
Parameters
xautoload_Container_LazyServices $services:
Return value
xautoload_BootSchedule_Interface Object that will register Drupal-related namespaces and prefixes at applicable moments during the request.
File
- lib/
ServiceFactory.php, line 40
Class
Code
function schedule($services) {
// Build the registration schedule.
$schedule = new xautoload_BootSchedule_Default($services->registrationHelper);
// To avoid duplicate registration, Drupal hooks always operate on the proxy
// schedule, never the real one.
return new xautoload_BootSchedule_Proxy($schedule);
}