Bravo3\Orm\Drivers\Filesystem\Io\PharIoDriver::read PHP Method

read() public method

Read raw data from the archive, returning null if the file is not readable
public read ( string $key ) : string | null
$key string
return string | null
    public function read($key)
    {
        if ($this->archive->offsetExists($key)) {
            return $this->archive[$key]->getContent();
        } else {
            return null;
        }
    }