Stash\Item::getRecord PHP Method

getRecord() protected method

Returns the record for the current key. If there is no record than an empty array is returned.
protected getRecord ( ) : array
return array
    protected function getRecord()
    {
        $record = $this->driver->getData($this->key);
        if (!is_array($record)) {
            return array();
        }
        return $record;
    }