File: web/app_dev.php

Recommend this page to a friend!
  Classes of Omar Shaban  >  PHP Game of Three  >  web/app_dev.php  >  Download  
File: web/app_dev.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Game of Three
Game of Three implementation using Websockets
Author: By
Last change:
Date: 3 months ago
Size: 362 bytes
 

Contents

Class file image Download
<?php

use Symfony\Component\HttpFoundation\Request;
use
Symfony\Component\Debug\Debug;

$loader = require __DIR__.'/../app/autoload.php';

Debug::enable();
$kernel = new AppKernel('dev', true);
$kernel->loadClassCache();
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);

For more information send a message to info at phpclasses dot org.