/** * Register a prefix plugin object * * @deprecated * * @param string $prefix * @param xautoload_FinderPlugin_Interface $plugin * * @return string * The key under which the plugin was registered. This can later be used to * unregister the plugin again. */ function prefixPlugin($prefix, $plugin) { $key = Util::randomString(); $this->finder->registerPrefixDeep($prefix, $key, $plugin); return $key; }