public function BackendResultSetter::extractOutput

master BackendResultSetter.php public BackendResultSetter::extractOutput($structured_data)

File

lib/Drush/Backend/BackendResultSetter.php, line 8

Namespace

Drush\Backend

Class

BackendResultSetter

Code

public function extractOutput($structured_data) {
  $return = drush_backend_get_result();
  if (empty($return)) {
    drush_backend_set_result($structured_data);
  }
}