-
-
Save HeadStudios/01dd319ef0715ae9b53b7a209268e2ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Listeners; | |
use App\Events\ShortURLVisited; | |
use Illuminate\Contracts\Queue\ShouldQueue; | |
use Illuminate\Queue\InteractsWithQueue; | |
class PhoneMessageLinkClicked | |
{ | |
/** | |
* Create the event listener. | |
* | |
* @return void | |
*/ | |
public function __construct() | |
{ | |
// | |
} | |
/** | |
* Handle the event. | |
* | |
* @param \App\Events\ShortURLVisited $event | |
* @return void | |
*/ | |
public function handle(ShortURLVisited $event) | |
{ | |
$shortURL = $event->shortURL; | |
$visit = $event->visit; | |
dump("Short URL is :".$shortURL->url); | |
dump("Visit values are: "); | |
dump($visit); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment