original_string: public static function read($sConfigFile)
      {
          $sConfigFile = realpath($sConfigFile);
          if(!is_readable($sConfigFile))
          {
              throw new \Jaxon\Config\Exception\File(jaxon_trans('config.errors.file.access', array('path' => $sConfigFile)));
          }
          $sFileContent = file_get_contents($sConfigFile);
          $aConfigOptions = json_decode($sFileContent, true);
          if(!is_array($aConfigOptions))
          {
              throw new \Jaxon\Config\Exception\File(jaxon_trans('config.errors.file.content', array('path' => $sConfigFile)));
          }
  
          return $aConfigOptions;
      }
code: public static function read($sConfigFile)
      {
          $sConfigFile = realpath($sConfigFile);
          if(!is_readable($sConfigFile))
          {
              throw new \Jaxon\Config\Exception\File(jaxon_trans('config.errors.file.access', array('path' => $sConfigFile)));
          }
          $sFileContent = file_get_contents($sConfigFile);
          $aConfigOptions = json_decode($sFileContent, true);
          if(!is_array($aConfigOptions))
          {
              throw new \Jaxon\Config\Exception\File(jaxon_trans('config.errors.file.content', array('path' => $sConfigFile)));
          }
  
          return $aConfigOptions;
      }
code_tokens: public static function read ( $ sConfigFile ) { $ sConfigFile = realpath ( $ sConfigFile ) ; if ( ! is_readable ( $ sConfigFile ) ) { throw new \ Jaxon \ Config \ Exception \ File ( jaxon_trans ( 'config.errors.file.access' , array ( 'path' => $ sConfigFile ) ) ) ; } $ sFileContent = file_get_contents ( $ sConfigFile ) ; $ aConfigOptions = json_decode ( $ sFileContent , true ) ; if ( ! is_array ( $ aConfigOptions ) ) { throw new \ Jaxon \ Config \ Exception \ File ( jaxon_trans ( 'config.errors.file.content' , array ( 'path' => $ sConfigFile ) ) ) ; } return $ aConfigOptions ; }
docstring: Read options from a JSON formatted config file
  
  @param string        $sConfigFile        The full path to the config file
  
  @return array
docstring_tokens: Read options from a JSON formatted config file