PHP Classes

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

Recommend this page to a friend!
  Classes of Stanley Aloh   Tic Tac Toe Multiplayer   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: Tic Tac Toe Multiplayer
Manage the interactions ofTic-Tac-Toe game players
Author: By
Last change:
Date: 6 months 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;
    }
}