original_string: public static function getEnvironmentVariables() {
      $dir = shell_exec('pwd');
      $dir_parts = explode(DIRECTORY_SEPARATOR, $dir);
      $project = trim(array_pop($dir_parts));
      $client = trim(array_pop($dir_parts));
      $dir = $dir . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'project' . DIRECTORY_SEPARATOR . $client . DIRECTORY_SEPARATOR . $project;
      $environment_file = file_get_contents($dir . DIRECTORY_SEPARATOR . 'environment.yml');
      if (!$environment_file) {
        throw new MissingEnvironmentConfigurationException("The environment configuration is missing, please contact your administrator.");
      }
      return new EnvironmentVariables(Yaml::parse($environment_file));
    }
code: public static function getEnvironmentVariables() {
      $dir = shell_exec('pwd');
      $dir_parts = explode(DIRECTORY_SEPARATOR, $dir);
      $project = trim(array_pop($dir_parts));
      $client = trim(array_pop($dir_parts));
      $dir = $dir . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'project' . DIRECTORY_SEPARATOR . $client . DIRECTORY_SEPARATOR . $project;
      $environment_file = file_get_contents($dir . DIRECTORY_SEPARATOR . 'environment.yml');
      if (!$environment_file) {
        throw new MissingEnvironmentConfigurationException("The environment configuration is missing, please contact your administrator.");
      }
      return new EnvironmentVariables(Yaml::parse($environment_file));
    }
code_tokens: public static function getEnvironmentVariables ( ) { $ dir = shell_exec ( 'pwd' ) ; $ dir_parts = explode ( DIRECTORY_SEPARATOR , $ dir ) ; $ project = trim ( array_pop ( $ dir_parts ) ) ; $ client = trim ( array_pop ( $ dir_parts ) ) ; $ dir = $ dir . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'project' . DIRECTORY_SEPARATOR . $ client . DIRECTORY_SEPARATOR . $ project ; $ environment_file = file_get_contents ( $ dir . DIRECTORY_SEPARATOR . 'environment.yml' ) ; if ( ! $ environment_file ) { throw new MissingEnvironmentConfigurationException ( "The environment configuration is missing, please contact your administrator." ) ; } return new EnvironmentVariables ( Yaml :: parse ( $ environment_file ) ) ; }
docstring: Bootstraps the environment variables.
  
  @return \Hedron\Configuration\EnvironmentVariables
  The environment variables from yaml.
  
  @throws \Hedron\Exception\MissingEnvironmentConfigurationException
  If the yaml file is missing, throws this exception.
docstring_tokens: Bootstraps the environment variables .