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

read() public method

Read raw data from the filesystem, returning null if the file is not readable
public read ( string $key ) : string | null
$key string
return string | null
    public function read($key)
    {
        $filename = $this->keyToFilename($key, false);
        if ($this->isReadableFile($filename)) {
            return file_get_contents($filename);
        } else {
            return null;
        }
    }