qqq
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Kiri\Events;
|
||||||
|
|
||||||
|
interface EventInterface
|
||||||
|
{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function process(): void;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Kiri\Events;
|
||||||
|
|
||||||
|
class TestListener implements EventInterface
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
public function process()
|
||||||
|
{
|
||||||
|
// TODO: Implement process() method.
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user