25 lines
425 B
PHP
25 lines
425 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use Illuminate\Queue\SerializesModels;
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
|
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
|
|
|
|
class LinkDiscovered
|
|
{
|
|
use Dispatchable, SerializesModels;
|
|
|
|
public $url;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @param string $url
|
|
*/
|
|
public function __construct(string $url)
|
|
{
|
|
$this->url = $url;
|
|
}
|
|
}
|