blob: c6291e51798d0a656cbccaf8a1e5ce332fe23234 [file] [log] [blame]
Volodymyr Panivko68139d12024-03-19 23:14:07 +01001<?php
2
3use Thrift\ClassLoader\ThriftClassLoader;
4
5require_once __DIR__ . '/../../../vendor/autoload.php';
6
7$loader = new ThriftClassLoader();
8$loader->registerNamespace('Basic', __DIR__ . '/Resources/packages/php');
9$loader->registerNamespace('Validate', __DIR__ . '/Resources/packages/phpv');
10$loader->registerNamespace('ValidateOop', __DIR__ . '/Resources/packages/phpvo');
11$loader->registerNamespace('Json', __DIR__ . '/Resources/packages/phpjs');
12
13#do not load this namespace here, it will be loaded in ClassLoaderTest
14//$loader->registerNamespace('Server', __DIR__ . '/Resources/packages/phpcm');
15
16$loader->register();