Blame | Letzte Änderung | Log anzeigen | RSS feed
<?php namespace Clockwork\Storage;use Clockwork\Request\Request;// Interface for requests storage implementationsinterface StorageInterface{// Returns all requestspublic function all(Search $search = null);// Return a single request by idpublic function find($id);// Return the latest requestpublic function latest(Search $search = null);// Return requests received before specified id, optionally limited to specified countpublic function previous($id, $count = null, Search $search = null);// Return requests received after specified id, optionally limited to specified countpublic function next($id, $count = null, Search $search = null);// Store requestpublic function store(Request $request);// Update existing requestpublic function update(Request $request);// Cleanup old requestspublic function cleanup();}