예제 #1
0
 /**
  *
  */
 protected function initClassLoader()
 {
     require_once __DIR__ . DIRECTORY_SEPARATOR . 'ClassLoader' . DIRECTORY_SEPARATOR . 'ThriftClassLoader.php';
     self::$thriftClassLoader = new \Thrift\ClassLoader\ThriftClassLoader(false);
     self::$thriftClassLoader->registerNamespace('Thrift', __DIR__ . DIRECTORY_SEPARATOR . '..');
     self::$thriftClassLoader->register();
     foreach ($this->dependencies as $dependency) {
         require_once __DIR__ . DIRECTORY_SEPARATOR . $dependency;
     }
 }