src/Warp/Core/Console.php
public function Run($functionName, $parameters)
	{
		if(!array_key_exists($functionName, $this->functions))
			return "\nError: The command '{$functionName}' does not exist\n";

		$response = $this->functions[$functionName]($parameters);
		
		return "\n{$response}\n";
	}
public function Run($functionName, $parameters)
	{
		if(!array_key_exists($functionName, $this->functions))
			return "\nError: The command '{$functionName}' does not exist\n";

		$response = $this->functions[$functionName]($parameters);
		
		return "\n{$response}\n";
	}
public function Run ( $ functionName , $ parameters ) { if ( ! array_key_exists ( $ functionName , $ this -> functions ) ) return "\nError: The command '{$functionName}' does not exist\n" ; $ response = $ this -> functions [ $ functionName ] ( $ parameters ) ; return "\n{$response}\n" ; }
Generic function caller
Generic function caller