<?php
/**
* Abstract event exporter.
* This class sets the base of custom event exporters.
* These exporters will actually export the event to the final destination.
*
* @author Marius Zadara <marius@zadara.org>
* @category org.zadara.marius.logger.classes
* @copyright (C) 2008 Marius Zadara <marius@zadara.org>
* @license GNU GPL
* @package org.zadara.marius.logger
* @abstract
*
*/
abstract class EventExporter
{
/**
* Class contructor
* @return EventExporter
*/
public function EventExporter()
{
// nothing special to do
}
/**
* Abstract method used to export the event.
* This method will be (and must be) implemented by the custom exporters;
*
* @param Event $event The event to export
* @see Event
*/
public abstract function doExport($event);
}
?>
|