22 lines
320 B
PHP
22 lines
320 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Services\Plugin;
|
|
|
|
class PluginWasEnabled extends Event
|
|
{
|
|
public $plugin;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @param Plugin $plugin
|
|
* @return void
|
|
*/
|
|
public function __construct(Plugin $plugin)
|
|
{
|
|
$this->plugin = $plugin;
|
|
}
|
|
}
|