예제 #1
0
파일: Forge.php 프로젝트: leloulight/Sprint
 public function _remap($method, $params)
 {
     if (method_exists($this, $method)) {
         call_user_func_array([$this, $method], $params);
     } else {
         $params = array_merge([CLI::cli_string()], $params);
         call_user_func_array([$this, 'run'], $params);
     }
 }
예제 #2
0
<?php

defined('BASEPATH') or exit('No direct script access allowed');
echo \Myth\CLI::error("\n\t404 ERROR: {$heading}");
echo \Myth\CLI::write("{$message}\n");
echo \Myth\CLI::write(\Myth\CLI::cli_string());