コード例 #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
ファイル: error_404.php プロジェクト: leloulight/Sprint
<?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());