index.js
function laravelLocalizationLoader(source) {
  var isPHP = ~source.indexOf('<?php')

  if (isPHP) {
    return phpArrayLoader(source)
  } else {
    return jsonLoader(source)
  }
}
function laravelLocalizationLoader(source) {
  var isPHP = ~source.indexOf('<?php')

  if (isPHP) {
    return phpArrayLoader(source)
  } else {
    return jsonLoader(source)
  }
}
function laravelLocalizationLoader ( source ) { var isPHP = ~ source . indexOf ( '<?php' ) if ( isPHP ) { return phpArrayLoader ( source ) } else { return jsonLoader ( source ) } }
The Laravel Localization loader.
@param  {string} source The source contents.
@return {string}        The parsed contents.
The Laravel Localization loader .