original_string: public function readByFilename($path, $filename)
      {
          $config = false;
          $configFilePath = rtrim($path, '/') . '/' . $filename;
  
          if (is_file($configFilePath)) {
              $yamlParser = new YamlParser();
              $config = $yamlParser->parse(file_get_contents($configFilePath));
          }
  
          return $config;
      }
code: public function readByFilename($path, $filename)
      {
          $config = false;
          $configFilePath = rtrim($path, '/') . '/' . $filename;
  
          if (is_file($configFilePath)) {
              $yamlParser = new YamlParser();
              $config = $yamlParser->parse(file_get_contents($configFilePath));
          }
  
          return $config;
      }
code_tokens: public function readByFilename ( $ path , $ filename ) { $ config = false ; $ configFilePath = rtrim ( $ path , '/' ) . '/' . $ filename ; if ( is_file ( $ configFilePath ) ) { $ yamlParser = new YamlParser ( ) ; $ config = $ yamlParser -> parse ( file_get_contents ( $ configFilePath ) ) ; } return $ config ; }
docstring: Read all the configuration given a path and a filename
  
  @param string $path     Path
  @param string $filename File name
  
  
  @return array Configuration
docstring_tokens: Read all the configuration given a path and a filename