src/Robo/Commands/Vm/VmCommand.php
protected function isDrupalVmRequired() {
    $composer_json = json_decode(file_get_contents($this->getConfigValue('repo.root') . '/composer.json'), TRUE);
    return !empty($composer_json['require-dev']['geerlingguy/drupal-vm'])
      && $composer_json['require-dev']['geerlingguy/drupal-vm'] == $this->drupalVmVersionConstraint;
  }
protected function isDrupalVmRequired() {
    $composer_json = json_decode(file_get_contents($this->getConfigValue('repo.root') . '/composer.json'), TRUE);
    return !empty($composer_json['require-dev']['geerlingguy/drupal-vm'])
      && $composer_json['require-dev']['geerlingguy/drupal-vm'] == $this->drupalVmVersionConstraint;
  }
protected function isDrupalVmRequired ( ) { $ composer_json = json_decode ( file_get_contents ( $ this -> getConfigValue ( 'repo.root' ) . '/composer.json' ) , TRUE ) ; return ! empty ( $ composer_json [ 'require-dev' ] [ 'geerlingguy/drupal-vm' ] ) && $ composer_json [ 'require-dev' ] [ 'geerlingguy/drupal-vm' ] == $ this -> drupalVmVersionConstraint ; }
Determines if Drupal VM is currently in composer.json's require-dev.

@return bool
TRUE if it is present already and matches version constraint.
Determines if Drupal VM is currently in composer . json s require - dev .