src/Robo/Inspector/Inspector.php
public function getCurrentSchemaVersion() {
    if (file_exists($this->getConfigValue('blt.config-files.schema-version'))) {
      $version = trim(file_get_contents($this->getConfigValue('blt.config-files.schema-version')));
    }
    else {
      $version = $this->getContainer()->get('updater')->getLatestUpdateMethodVersion();
    }

    return $version;
  }
public function getCurrentSchemaVersion() {
    if (file_exists($this->getConfigValue('blt.config-files.schema-version'))) {
      $version = trim(file_get_contents($this->getConfigValue('blt.config-files.schema-version')));
    }
    else {
      $version = $this->getContainer()->get('updater')->getLatestUpdateMethodVersion();
    }

    return $version;
  }
public function getCurrentSchemaVersion ( ) { if ( file_exists ( $ this -> getConfigValue ( 'blt.config-files.schema-version' ) ) ) { $ version = trim ( file_get_contents ( $ this -> getConfigValue ( 'blt.config-files.schema-version' ) ) ) ; } else { $ version = $ this -> getContainer ( ) -> get ( 'updater' ) -> getLatestUpdateMethodVersion ( ) ; } return $ version ; }
Gets the current schema version of the root project.

@return string
The current schema version.
Gets the current schema version of the root project .