PEAR_Command::factory() -- get object for executing a command.
Description
Get the right object for executing a command.
Parameter
- string
$command
The name of the command
- object
&$config
Instance of PEAR_Config object
Return value
object the command object
Note
This function should be called
statically.