This commit is contained in:
2023-08-11 00:12:33 +08:00
parent 69473a349e
commit 2c21e5c2fe
5 changed files with 109 additions and 91 deletions
+3 -1
View File
@@ -2,6 +2,8 @@
namespace Kiri\Events;
use Symfony\Component\Console\Command\Command;
class OnAfterCommandExecute
{
@@ -9,7 +11,7 @@ class OnAfterCommandExecute
/**
*
*/
public function __construct()
public function __construct(public Command $command)
{
}
@@ -2,7 +2,17 @@
namespace Kiri\Events;
use Symfony\Component\Console\Command\Command;
class OnBeforeCommandExecute
{
/**
* @param Command $command
*/
public function __construct(public Command $command)
{
}
}