private function addPlugins($path)
	{
		foreach (glob($path . '/*.php') as $filename)
		{
			$commandClass = __NAMESPACE__ . '\\' . basename($filename, '.php') . 'Command';
			$command = new $commandClass;
			$this->add($command);
		}
	}
private function addPlugins($path)
	{
		foreach (glob($path . '/*.php') as $filename)
		{
			$commandClass = __NAMESPACE__ . '\\' . basename($filename, '.php') . 'Command';
			$command = new $commandClass;
			$this->add($command);
		}
	}
private function addPlugins ( $ path ) { foreach ( glob ( $ path . '/*.php' ) as $ filename ) { $ commandClass = __NAMESPACE__ . '\\' . basename ( $ filename , '.php' ) . 'Command' ; $ command = new $ commandClass ; $ this -> add ( $ command ) ; } }
Dynamically add all commands from a path

@param   string  $path  The directory with the plugins

@return  void
Dynamically add all commands from a path