File "DeferredPersistentContainer.php"

Full Path: /home/jlklyejr/public_html/post-date/wp-content/plugins/flexible-shipping/vendor_prefixed/wpdesk/wp-persistence/src/DeferredPersistentContainer.php
File size: 679 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace FSVendor\WPDesk\Persistence;

use Psr\Container\ContainerInterface;
/**
 * Container that persists values only after save method is used.
 *
 * @package WPDesk\Persistence
 */
interface DeferredPersistentContainer extends \FSVendor\WPDesk\Persistence\PersistentContainer
{
    /**
     * Save changed data.
     *
     * @return void
     */
    public function save();
    /**
     * Is there any new data to save.
     *
     * @return bool
     */
    public function is_changed();
    /**
     * Reset data to last saved values. If remote repository is used the data can be retrived from it.
     *
     * @return void
     */
    public function reset();
}