# wp-stateless/trunk/lib/classes/sync/interface-sync.php

WP-Stateless – Google Cloud Storage, version trunk. 34 lines.

- Page: https://pluginprobe.com/plugins/wp-stateless/trunk/code/lib/classes/sync/interface-sync.php
- Raw: https://pluginprobe.com/plugins/wp-stateless/trunk/raw/lib/classes/sync/interface-sync.php
- Modified: 2020-10-14T09:47:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wp-stateless/trunk/code/lib/classes/sync/interface-sync.php#L10-L20`.

```php
<?php

namespace wpCloud\StatelessMedia\Sync;

interface ISync {

  /**
   * Start Process from begining.
   * Needs to be implemented separately for each kind of sync.
   */
  public function start();

  /**
   * Fill queue with more items if available.
   * Needs to be implemented separately for each kind of sync.
   */
  public function extend_queue();

  /**
   * Implementation of the count of items for this sync type.
   */
  public function get_total_items();

  /**
   * Sync Process needs to have a display-able name
   */
  public function get_name();

  /**
   * Helper window. Return false if no window needed.
   */
  public function get_helper_window();
}

```
