Files
runff/lib/SimpleSAML/Stats/Output.php
2019-04-29 16:09:00 +02:00

30 lines
510 B
PHP
Executable File

<?php
/**
* Interface for statistics outputs.
*
* @package SimpleSAMLphp
*/
abstract class SimpleSAML_Stats_Output
{
/**
* Initialize the output.
*
* @param SimpleSAML_Configuration $config The configuration for this output.
*/
public function __construct(SimpleSAML_Configuration $config)
{
// do nothing by default
}
/**
* Write a stats event.
*
* @param array $data The event.
*/
abstract public function emit(array $data);
}