You are here

KeyValueStoreSortedInterface.php in Key-value Extensions 8

File

src/KeyValueStore/KeyValueStoreSortedInterface.php
View source
<?php

namespace Drupal\key_value\KeyValueStore;

interface KeyValueStoreSortedInterface {

  /**
   * @return integer
   */
  public function getCount();

  /**
   * @param float $start
   * @param float $stop
   * @param boolean $inclusive
   *
   * @return array
   */
  public function getRange($start, $stop = NULL, $inclusive = TRUE);

}

Interfaces