This commit is contained in:
2021-03-02 17:23:59 +08:00
parent be07712b6f
commit 1d2ee758fb
+11 -1
View File
@@ -1,16 +1,26 @@
<?php
declare(strict_types=1);
namespace Snowflake\Abstracts;
use Snowflake\Core\Dtl;
/**
* Interface IListener
* @package Snowflake\Abstracts
*/
interface IListener
{
public function handler(Dtl $dtl);
/**
* @param Dtl $dtl
* @return mixed
*/
public function execute(Dtl $dtl): mixed;
}