ES6 TODO 1
웹개발/Javascript
2019. 4. 13. 22:12
php7 클로져 사용하기
/**d,0c ./. ;.l;. ㅣ;'/,. * closer.php * * * @since 2018. 6. 13. * @version 1.0 */class App{protected $routes = array(); protected $responseStatus = '200 ok'; protected $responseContentType = 'text/html'; protected $responseBody = 'Hello world'; public function addRoute($routePath, $routeCallBack){$this->routes[$routePath] = $routeCallBack->bindTo($this,__CLASS__); }public function dispatch($curr..
웹개발/Php
2019. 4. 13. 12:43