예제 #1
0
파일: service.php 프로젝트: hackyoung/leno
<?php

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