MatthiasMullie\Scrapbook\Buffered\Utils\Defer::generateUpdates PHP Метод

generateUpdates() защищенный Метод

By storing all updates by key, we've already made sure we don't perform redundant operations on a per-key basis. Now we'll turn those into actual updates.
protected generateUpdates ( ) : array
Результат array
    protected function generateUpdates()
    {
        $updates = array();
        if ($this->flush) {
            $updates[] = array('flush', array($this->cache, 'flush'), array());
        }
        foreach ($this->keys as $key => $data) {
            $updates[] = $data;
        }
        return $updates;
    }