Skip to content

Commit

Permalink
concat the url and just expose that
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonvarga committed Nov 22, 2023
1 parent e6c0e53 commit e264e91
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Events/UrlInvalidated.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@

class UrlInvalidated extends Event
{
public $domain;
public $fullUrl;
public $url;

public function __construct($url, $domain = null)
{
$this->domain = $domain;
$this->fullUrl = url($url);
$this->url = $url;
$this->url = $domain.$url;
}
}

0 comments on commit e264e91

Please sign in to comment.