src/Robo/Inspector/Inspector.php
public function getComposerVersion() {
    $version = $this->executor->execute("composer --version")
      ->interactive(FALSE)
      ->silent(TRUE)
      ->run()
      ->getMessage();

    return $version;
  }
public function getComposerVersion() {
    $version = $this->executor->execute("composer --version")
      ->interactive(FALSE)
      ->silent(TRUE)
      ->run()
      ->getMessage();

    return $version;
  }
public function getComposerVersion ( ) { $ version = $ this -> executor -> execute ( "composer --version" ) -> interactive ( FALSE ) -> silent ( TRUE ) -> run ( ) -> getMessage ( ) ; return $ version ; }
Gets Composer version.

@return string
The version of Composer.
Gets Composer version .