This commit is contained in:
2020-09-02 19:34:45 +08:00
parent 4e881c628b
commit de30c44709
4 changed files with 92 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
<?php
namespace Snowflake\Abstracts;
use Snowflake\Core\Dtl;
interface IListener
{
public function handler(Dtl $dtl);
}
+17
View File
@@ -0,0 +1,17 @@
<?php
namespace Snowflake\Abstracts;
/**
* Class Listener
* @package Snowflake\Abstracts
* 监听的名称
*/
abstract class Listener extends Component implements IListener
{
protected $name = '';
}