Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9edf50f
commit b9a0ba6
Showing
9 changed files
with
150 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
namespace App\Events\Setting; | ||
|
||
use App\Abstracts\Event; | ||
|
||
class TaxCreated extends Event | ||
{ | ||
public $tax; | ||
|
||
public $request; | ||
|
||
/** | ||
* Create a new event instance. | ||
* | ||
* @param $tax | ||
* @param $request | ||
*/ | ||
public function __construct($tax, $request) | ||
{ | ||
$this->tax = $tax; | ||
$this->request = $request; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
namespace App\Events\Setting; | ||
|
||
use App\Abstracts\Event; | ||
|
||
class TaxCreating extends Event | ||
{ | ||
public $request; | ||
|
||
/** | ||
* Create a new event instance. | ||
* | ||
* @param $request | ||
*/ | ||
public function __construct($request) | ||
{ | ||
$this->request = $request; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
namespace App\Events\Setting; | ||
|
||
use App\Abstracts\Event; | ||
|
||
class TaxDeleted extends Event | ||
{ | ||
public $tax; | ||
|
||
/** | ||
* Create a new event instance. | ||
* | ||
* @param $tax | ||
*/ | ||
public function __construct($tax) | ||
{ | ||
$this->tax = $tax; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
namespace App\Events\Setting; | ||
|
||
use App\Abstracts\Event; | ||
|
||
class TaxDeleting extends Event | ||
{ | ||
public $tax; | ||
|
||
/** | ||
* Create a new event instance. | ||
* | ||
* @param $tax | ||
*/ | ||
public function __construct($tax) | ||
{ | ||
$this->tax = $tax; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
namespace App\Events\Setting; | ||
|
||
use App\Abstracts\Event; | ||
|
||
class TaxUpdated extends Event | ||
{ | ||
public $tax; | ||
|
||
public $request; | ||
|
||
/** | ||
* Create a new event instance. | ||
* | ||
* @param $tax | ||
* @param $request | ||
*/ | ||
public function __construct($tax, $request) | ||
{ | ||
$this->tax = $tax; | ||
$this->request = $request; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
namespace App\Events\Setting; | ||
|
||
use App\Abstracts\Event; | ||
|
||
class TaxUpdating extends Event | ||
{ | ||
public $tax; | ||
|
||
public $request; | ||
|
||
/** | ||
* Create a new event instance. | ||
* | ||
* @param $tax | ||
* @param $request | ||
*/ | ||
public function __construct($tax, $request) | ||
{ | ||
$this->tax = $tax; | ||
$this->request = $request; | ||
} | ||
} |
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
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
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