class BackendResultSetter

Namespace

Drush\Backend

Hierarchy

  • class BackendResultSetter implements \Consolidation\AnnotatedCommand\Hooks\ExtractOutputInterface

Expanded class hierarchy of BackendResultSetter

Members

Contains filters are case sensitive

File

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

View source
class BackendResultSetter implements ExtractOutputInterface {
  public function extractOutput($structured_data) {
    $return = drush_backend_get_result();
    if (empty($return)) {
      drush_backend_set_result($structured_data);
    }
  }
}