src/Stores/JsonStore.php
protected function read()
    {
        $contents = $this->filesystem()->get($this->path);
        $data     = json_decode($contents, true);

        if (is_null($data)) {
            throw new RuntimeException("Invalid JSON file in [{$this->path}]");
        }

        return (array) $data;
    }
protected function read()
    {
        $contents = $this->filesystem()->get($this->path);
        $data     = json_decode($contents, true);

        if (is_null($data)) {
            throw new RuntimeException("Invalid JSON file in [{$this->path}]");
        }

        return (array) $data;
    }
protected function read ( ) { $ contents = $ this -> filesystem ( ) -> get ( $ this -> path ) ; $ data = json_decode ( $ contents , true ) ; if ( is_null ( $ data ) ) { throw new RuntimeException ( "Invalid JSON file in [{$this->path}]" ) ; } return ( array ) $ data ; }
Read the data from the store.

@return array
Read the data from the store .