PHP Classes

File: test/ssa/toEndTest/serviceConfig.php

Recommend this page to a friend!
  Classes of thomas   SSA   test/ssa/toEndTest/serviceConfig.php   Download  
File: test/ssa/toEndTest/serviceConfig.php
Role: Example script
Content type: text/plain
Description: Example script
Class: SSA
Call PHP classes from JavaScript on Web pages
Author: By
Last change:
Date: 9 years ago
Size: 383 bytes
 

Contents

Class file image Download
<?php

include __DIR__.'/../../../vendor/autoload.php';

use
ssa\ServiceManager;
use
ssa\Configuration;

Configuration::getInstance()->configure(array(
   
'debug' => true,
  
// 'cacheMode' => 'file',
   // 'cacheDirectory' => __DIR__.'/cache'
));
ServiceManager::getInstance()->registerAllServices(array(
   
'helloWorldService' => array('class' => 'ssa\toEndTest\HelloWorld')
));