original_string: private function addPlugins($path)
  	{
  		foreach (glob($path . '/*.php') as $filename)
  		{
  			$commandClass = __NAMESPACE__ . '\\' . basename($filename, '.php') . 'Command';
  			$command = new $commandClass;
  			$this->add($command);
  		}
  	}
code: private function addPlugins($path)
  	{
  		foreach (glob($path . '/*.php') as $filename)
  		{
  			$commandClass = __NAMESPACE__ . '\\' . basename($filename, '.php') . 'Command';
  			$command = new $commandClass;
  			$this->add($command);
  		}
  	}
code_tokens: private function addPlugins ( $ path ) { foreach ( glob ( $ path . '/*.php' ) as $ filename ) { $ commandClass = __NAMESPACE__ . '\\' . basename ( $ filename , '.php' ) . 'Command' ; $ command = new $ commandClass ; $ this -> add ( $ command ) ; } }
docstring: Dynamically add all commands from a path
  
  @param   string  $path  The directory with the plugins
  
  @return  void
docstring_tokens: Dynamically add all commands from a path