original_string: public function getConfigArray($name)
      {
          $result = array_get($this->getConfig(), $name, []);
  
          if (is_string($result)) {
              $fileName = File::symbolizePath($result);
  
              if (File::isLocalPath($fileName)) {
                  $path = $fileName;
              }
              else {
                  $path = $this->getPath().'/'.$result;
              }
  
              if (!File::exists($path)) {
                  throw new ApplicationException('Path does not exist: '.$path);
              }
  
              $result = Yaml::parseFile($path);
          }
  
          return (array) $result;
      }
code: public function getConfigArray($name)
      {
          $result = array_get($this->getConfig(), $name, []);
  
          if (is_string($result)) {
              $fileName = File::symbolizePath($result);
  
              if (File::isLocalPath($fileName)) {
                  $path = $fileName;
              }
              else {
                  $path = $this->getPath().'/'.$result;
              }
  
              if (!File::exists($path)) {
                  throw new ApplicationException('Path does not exist: '.$path);
              }
  
              $result = Yaml::parseFile($path);
          }
  
          return (array) $result;
      }
code_tokens: public function getConfigArray ( $ name ) { $ result = array_get ( $ this -> getConfig ( ) , $ name , [ ] ) ; if ( is_string ( $ result ) ) { $ fileName = File :: symbolizePath ( $ result ) ; if ( File :: isLocalPath ( $ fileName ) ) { $ path = $ fileName ; } else { $ path = $ this -> getPath ( ) . '/' . $ result ; } if ( ! File :: exists ( $ path ) ) { throw new ApplicationException ( 'Path does not exist: ' . $ path ) ; } $ result = Yaml :: parseFile ( $ path ) ; } return ( array ) $ result ; }
docstring: Returns an array value from the theme configuration file by its name.
  If the value is a string, it is treated as a YAML file and loaded.
  @param string $name Specifies the configuration parameter name.
  @return array
docstring_tokens: Returns an array value from the theme configuration file by its name . If the value is a string it is treated as a YAML file and loaded .