intecture-api 0.3.2

API component for Intecture infrastructure. Intecture is the developer friendly, multi-lingual configuration management tool.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--TEST--
Test fail while creating a Service with no args
--FILE--
<?php

use Intecture\Service;
use Intecture\ServiceException;

try {
    $service = new Service(NULL);
} catch (ServiceException $e) {
    if ($e->getMessage() == 'The first argument must be an instance of Intecture\ServiceRunnable') {
        echo 'OK';
    }
}

--EXPECT--
OK