PHP Classes

File: test/Bootstrap.php

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis CMS Prospects   test/Bootstrap.php   Download  
File: test/Bootstrap.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Melis CMS Prospects
Melis CMS module to track business prospects
Author: By
Last change:
Date: 1 year ago
Size: 327 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("MelisCmsProspectsTest\\", $cwd);
$loader->register();

ServiceManagerGrabber::setServiceConfig();
ob_start();