PHP Classes

File: app/autoload.php

Recommend this page to a friend!
  Classes of Omar Shaban   PHP Game of Three   app/autoload.php   Download  
File: app/autoload.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Game of Three
Game of Three implementation using Websockets
Author: By
Last change:
Date: 3 years ago
Size: 267 bytes
 

Contents

Class file image Download
<?php

use Doctrine\Common\Annotations\AnnotationRegistry;
use
Composer\Autoload\ClassLoader;

/**
 * @var ClassLoader $loader
 */
$loader = require __DIR__.'/../vendor/autoload.php';

AnnotationRegistry::registerLoader(array($loader, 'loadClass'));

return
$loader;