You are here

function xautoload_Container_ProxyObject::proxyScheduleOperation in X Autoload 7.3

Parameters

string $method:

array $args:

2 calls to xautoload_Container_ProxyObject::proxyScheduleOperation()
xautoload_BootSchedule_Proxy::initBootstrapPhase in lib/BootSchedule/Proxy.php
Init the phase where the database is available, and schedule the registration of the namespaces and prefixes for all modules.
xautoload_BootSchedule_Proxy::initMainPhase in lib/BootSchedule/Proxy.php
Init the phase where all *.module files are loaded, and schedule the running of hook_xautoload() on all modules that implement it.

File

lib/Container/ProxyObject.php, line 53

Class

xautoload_Container_ProxyObject

Code

function proxyScheduleOperation($method, $args = array()) {
  if (!isset($this->instance)) {
    $this->scheduled[] = array(
      $method,
      $args,
    );
  }
  else {
    call_user_func_array(array(
      $this->instance,
      $method,
    ), $args);
  }
}