public function registerProxy(IProxy $proxy) { $this->proxyMap[$proxy->getProxyName()] = $proxy; $proxy->onRegister(); }
/** * Register Proxy * * Register an <b>IProxy</b> with the <b>Model</b>. * * @param IProxy $proxy The <b>IProxy</b> to be registered with the <b>Model</b>. * @return void */ public function registerProxy(IProxy $proxy) { $proxy->initializeNotifier($this->multitonKey); $this->proxyMap[$proxy->getProxyName()] = $proxy; $proxy->onRegister(); }