function MethodRequires::externalCommandIsAvailable
Determine if an external command is available.
Parameters
$command: The external command.
Return value
bool TRUE if external command is available, else FALSE.
Overrides ExternalCommandRequirementsTrait::externalCommandIsAvailable
File
- 
              core/
tests/ Drupal/ BuildTests/ Framework/ Tests/ ExternalCommandRequirementTest.php, line 178  
Class
Namespace
Drupal\BuildTests\Framework\TestsCode
protected static function externalCommandIsAvailable($command) {
  return in_array($command, [
    'available_command',
  ]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.