Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 /**
  * @param $classpath_key
  */
 public function __construct($classpath_key)
 {
     parent::__construct();
     $this->classpath_key = $classpath_key;
 }