<?php $link = new Framework\Shortener($database); $links = $link->getAll();
info at phpclasses dot org