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); } }
<?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());