*/ namespace oat\taoEventLog\model; /** * Interface StorageInterface * @package oat\taoEventLog\model */ interface StorageInterface { /** * Creates new log record * @param LogEntity $logEntity */ public function log(LogEntity $logEntity); /** * Search records in log which are meet the search criteria * * @param array $filters * @param array $options * @return array */ public function search(array $filters = [], array $options = []); /** * Count records in log which are meet the search criteria * * @param array $filters * @param array $options * @return integer */ public function count(array $filters = [], array $options = []); /** * @param array $filters * @return integer */ public function delete(array $filters); }