urlshortener/lib/AbstractStorage.class.php

19 lines
306 B
PHP

<?php
/**
* Base class for storages
*/
abstract class AbstractStorage {
abstract function getEntryByUrl($url);
abstract function reserveId($userShortId, $url);
abstract function getEntryById($shortId);
abstract function markVisited($shortId);
abstract function getStatisticsOverview();
}