mixed System_ProcWatch_Config::fromArray (
This method in fact does a sanity check on the supplied config array and should only be used for testing purposes.
config array to check
Returns the same array on success or PEAR_Error on failure.
Throws PEAR_Error if an invalid configuration array was supplied.
This function should be called statically.