cli = $cli; } function __call($name, $arguments) { if(is_callable(array($this->cli, $name))){ $this->cli->$name($arguments[0]); } else { $this->cli->info($arguments[0]); } } }