src/Robo/Commands/Blt/UpdateCommand.php
protected function setProjectName() {
    $project_name = basename($this->getConfigValue('repo.root'));
    $project_yml = $this->getConfigValue('blt.config-files.project');
    $project_config = YamlMunge::parseFile($project_yml);
    $project_config['project']['machine_name'] = $project_name;
    YamlMunge::writeFile($project_yml, $project_config);
  }
protected function setProjectName() {
    $project_name = basename($this->getConfigValue('repo.root'));
    $project_yml = $this->getConfigValue('blt.config-files.project');
    $project_config = YamlMunge::parseFile($project_yml);
    $project_config['project']['machine_name'] = $project_name;
    YamlMunge::writeFile($project_yml, $project_config);
  }
protected function setProjectName ( ) { $ project_name = basename ( $ this -> getConfigValue ( 'repo.root' ) ) ; $ project_yml = $ this -> getConfigValue ( 'blt.config-files.project' ) ; $ project_config = YamlMunge :: parseFile ( $ project_yml ) ; $ project_config [ 'project' ] [ 'machine_name' ] = $ project_name ; YamlMunge :: writeFile ( $ project_yml , $ project_config ) ; }
Sets project.name using the directory name of repot.root.

@return \Robo\Result
Sets project . name using the directory name of repot . root .