src/Driver/Json.php
public function read($path, $fileName)
    {
        $this->checkExtension();
        $file = $this->getFile($path, $fileName);

        $this->isExist($file);
        $this->isRead($file);

        $json = file_get_contents($file);

        return json_decode($json, true);
    }
public function read($path, $fileName)
    {
        $this->checkExtension();
        $file = $this->getFile($path, $fileName);

        $this->isExist($file);
        $this->isRead($file);

        $json = file_get_contents($file);

        return json_decode($json, true);
    }
public function read ( $ path , $ fileName ) { $ this -> checkExtension ( ) ; $ file = $ this -> getFile ( $ path , $ fileName ) ; $ this -> isExist ( $ file ) ; $ this -> isRead ( $ file ) ; $ json = file_get_contents ( $ file ) ; return json_decode ( $ json , true ) ; }
{@inheritDoc}
{