20 lines
342 B
PHP
20 lines
342 B
PHP
<?php
|
|
declare( strict_types=1 );
|
|
|
|
namespace Rarst\Laps\Event;
|
|
|
|
use Rarst\Laps\Record\Collector\Hook_Collector;
|
|
|
|
/**
|
|
* Interface to retrieve configuration array of hook events to track.
|
|
*/
|
|
interface Hook_Event_Config_Interface {
|
|
|
|
/**
|
|
* @see Hook_Collector::add_event()
|
|
*
|
|
* @return array[]
|
|
*/
|
|
public function get_events(): array;
|
|
}
|