Beispiel #1
0
<?php

define('TEST_MVC', false);
require __DIR__ . '/boot.php';
\Leno\Service::register('test', 'test.service');
$response = \Leno\Service::getService('test.hello')->execute();
Beispiel #2
0
 protected function getService($name, $args = [])
 {
     return \Leno\Service::getService($name, $args);
 }