PHP Classes

File: test/Bootstrap.php

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis Messenger   test/Bootstrap.php   Download  
File: test/Bootstrap.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Melis Messenger
Exchange messages between Melis platform users
Author: By
Last change:
Date: 7 days ago
Size: 324 bytes
 

Contents

Class file image Download
<?php
use MelisCore\ServiceManagerGrabber;

error_reporting(E_ALL | E_STRICT);

$cwd = __DIR__;
chdir(dirname(__DIR__));

// Assume we use composer
$loader = require_once '../../../vendor/autoload.php';
$loader->add("MelisMessengerTest\\", $cwd);
$loader->register();

ServiceManagerGrabber::setServiceConfig();
ob_start();