for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace RichanFongdasen\I18n\Repositories;
class JsonRepository extends Repository
{
/**
* Read the json datasource.
*
* @return array
*/
protected function read()
return json_decode(file_get_contents($this->datasource));
}