require_once 'PEAR/command.php';
object PEAR_Command::factory (string $command, object &$config)
object PEAR_Command::factory
Get the right object for executing a command.
The name of the command
Instance of PEAR_Config object
object the command object
Table 27-1. Possible PEAR_Error values
This function should be called statically.