You are here

function xautoload_Plugin_WithKillswitch::setKillswitch in X Autoload 7.2

Allow the namespace plugin to unsubscribe or replace itself. This is called by the ClassFinder itself, the moment the namespace plugin is registered.

Parameters

xautoload_ClassFinder_Helper_Map $map: Object where the thing is subscribed.

File

lib/Plugin/WithKillswitch.php, line 24

Class

xautoload_Plugin_WithKillswitch
X Autoload plugins are for:

Code

function setKillswitch($map, $key, $id) {
  $this->map = $map;
  $this->key = $key;
  $this->id = $id;
}