bootstrap.php 418 B

12345678910111213141516171819
  1. <?php
  2. /**
  3. * Find the auto loader file
  4. */
  5. $files = [
  6. __DIR__ . '/../vendor/autoload.php',
  7. __DIR__ . '/../../vendor/autoload.php',
  8. __DIR__ . '/../../../vendor/autoload.php',
  9. __DIR__ . '/../../../../vendor/autoload.php',
  10. ];
  11. foreach ($files as $file) {
  12. if (file_exists($file)) {
  13. $loader = require $file;
  14. $loader->addPsr4('Ratchet\\RFC6455\\Test\\', __DIR__);
  15. break;
  16. }
  17. }