qqq
This commit is contained in:
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user