KhanCommand

class KhanCommand

Methods

public __construct() No description
public static shell($shell, $debug = false) No description

Details

at line 7

__construct()

public __construct()
at line 9

shell()

public static shell($shell, $debug = false)

Parameters

$shell
$debug

Source code

<?php

	namespace Command;

	class KhanCommand {

		public function __construct(){}

		public static function shell($shell, $debug = false){
			if($debug){ shell_exec('cls'); }
			shell_exec( $shell );
		}

	}