urlshortener/lib/AbstractStorage.class.php

19 lines
306 B
PHP
Raw Permalink Normal View History

2013-09-26 16:03:50 +00:00
<?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();
}