You are here

interface KeyValueStoreListInterface in Key-value Extensions 8

Hierarchy

Expanded class hierarchy of KeyValueStoreListInterface

All classes that implement KeyValueStoreListInterface

File

src/KeyValueStore/KeyValueStoreListInterface.php, line 5

Namespace

Drupal\key_value\KeyValueStore
View source
interface KeyValueStoreListInterface extends KeyValueStoreSortedInterface {

  /**
   * @param integer $count
   * @param mixed $value
   */
  public function delete($count, $value);

  /**
   * @return mixed
   */
  public function pop();

  /**
   * @param mixed $value
   *
   * @return null
   */
  public function push($value);

  /**
   * @param array $values
   *
   * @return null
   */
  public function pushMultiple(array $values);

  /**
   * @param float $key
   * @param mixed $value
   */
  public function set($key, $value);

  /**
   * @return mixed
   */
  public function shift();

  /**
   * @param mixed $value
   *
   * @return integer
   */
  public function unshift($value);

  /**
   * @param array $values
   *
   * @return array
   */
  public function unshiftMultiple(array $values);

}

Members