public function __construct($prefix) { parent::__construct(); if (!extension_loaded('apc')) { throw new RokCommon_ClassLoader_Exception('Unable to use RokCommon_Classloader_ApcLoader as APC is not enabled.'); } $this->prefix = $prefix; }
public function __construct($prefix) { parent::__construct(); if (!extension_loaded('xcache')) { throw new RokCommon_ClassLoader_Exception('Unable to use XcacheLoader as Xcache is not enabled.'); } $this->prefix = $prefix; }
/** * @param $classpath_key */ public function __construct($classpath_key) { parent::__construct(); $this->classpath_key = $classpath_key; }