src/Drivers/Json.php
public function load()
    {
        $data = [];

        if (is_file($this->filePath)) {
            $data = json_decode(file_get_contents($this->filePath), true);
        }

        return $data;
    }
public function load()
    {
        $data = [];

        if (is_file($this->filePath)) {
            $data = json_decode(file_get_contents($this->filePath), true);
        }

        return $data;
    }
public function load ( ) { $ data = [ ] ; if ( is_file ( $ this -> filePath ) ) { $ data = json_decode ( file_get_contents ( $ this -> filePath ) , true ) ; } return $ data ; }
Prepare the data for driver operations
Prepare the data for driver operations