protected function loadSubset($subset)
    {
        $subsetStoragePath = $this->storagePath . DIRECTORY_SEPARATOR . $subset . '.json';
        $json = file_get_contents($subsetStoragePath);
        $json = json_decode($json);
        $this->$subset = $json;
        return $json;
    }
protected function loadSubset($subset)
    {
        $subsetStoragePath = $this->storagePath . DIRECTORY_SEPARATOR . $subset . '.json';
        $json = file_get_contents($subsetStoragePath);
        $json = json_decode($json);
        $this->$subset = $json;
        return $json;
    }
protected function loadSubset ( $ subset ) { $ subsetStoragePath = $ this -> storagePath . DIRECTORY_SEPARATOR . $ subset . '.json' ; $ json = file_get_contents ( $ subsetStoragePath ) ; $ json = json_decode ( $ json ) ; $ this -> $ subset = $ json ; return $ json ; }
Load subset from disk
@param $subset
@return mixed|string
Load subset from disk