src/Robo/Hooks/ValidateHook.php
public function validateVmConfig() {
    if ($this->getInspector()->isDrupalVmLocallyInitialized() && $this->getInspector()->isDrupalVmBooted() && !$this->getInspector()->isDrupalVmConfigValid()) {
      throw new BltException("Drupal VM configuration is invalid.");
    }
  }
public function validateVmConfig() {
    if ($this->getInspector()->isDrupalVmLocallyInitialized() && $this->getInspector()->isDrupalVmBooted() && !$this->getInspector()->isDrupalVmConfigValid()) {
      throw new BltException("Drupal VM configuration is invalid.");
    }
  }
public function validateVmConfig ( ) { if ( $ this -> getInspector ( ) -> isDrupalVmLocallyInitialized ( ) && $ this -> getInspector ( ) -> isDrupalVmBooted ( ) && ! $ this -> getInspector ( ) -> isDrupalVmConfigValid ( ) ) { throw new BltException ( "Drupal VM configuration is invalid." ) ; } }
Validates that current PHP process is being executed inside of the VM.

@hook validate validateVmConfig
Validates that current PHP process is being executed inside of the VM .