PHP Classes

File: vendor/ratchet/rfc6455/tests/bootstrap.php

Recommend this page to a friend!
  Classes of Hillary Kollan   Chatto PHP Websocket Chat System   vendor/ratchet/rfc6455/tests/bootstrap.php   Download  
File: vendor/ratchet/rfc6455/tests/bootstrap.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Chatto PHP Websocket Chat System
Websocket based chat system using Ratchet library
Author: By
Last change:
Date: 3 years ago
Size: 418 bytes
 

Contents

Class file image Download
<?php

/**
 * Find the auto loader file
 */
$files = [
   
__DIR__ . '/../vendor/autoload.php',
   
__DIR__ . '/../../vendor/autoload.php',
   
__DIR__ . '/../../../vendor/autoload.php',
   
__DIR__ . '/../../../../vendor/autoload.php',
];

foreach (
$files as $file) {
    if (
file_exists($file)) {
       
$loader = require $file;
       
$loader->addPsr4('Ratchet\\RFC6455\\Test\\', __DIR__);
        break;
    }
}