This repository has been archived by the owner on Jul 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
integrate new php-event-pubsub version (#3)
- Loading branch information
1 parent
07aba29
commit ed023cc
Showing
9 changed files
with
194 additions
and
13 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 |
---|---|---|
|
@@ -4,7 +4,6 @@ php: | |
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- hhvm | ||
- nightly | ||
|
||
before_script: | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
namespace Superbalist\LaravelEventPubSub\Events; | ||
|
||
use Superbalist\EventPubSub\EventInterface; | ||
|
||
class ListenExprFailureEvent | ||
{ | ||
/** | ||
* @var EventInterface | ||
*/ | ||
public $event; | ||
|
||
/** | ||
* @var | ||
*/ | ||
public $expr; | ||
|
||
/** | ||
* @param EventInterface $event | ||
* @param string $expr | ||
*/ | ||
public function __construct(EventInterface $event, $expr) | ||
{ | ||
$this->event = $event; | ||
$this->expr = $expr; | ||
} | ||
} |
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,19 @@ | ||
<?php | ||
|
||
namespace Superbalist\LaravelEventPubSub\Events; | ||
|
||
class TranslationFailureEvent | ||
{ | ||
/** | ||
* @var string | ||
*/ | ||
public $message; | ||
|
||
/** | ||
* @param string $message | ||
*/ | ||
public function __construct($message) | ||
{ | ||
$this->message = $message; | ||
} | ||
} |
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,21 @@ | ||
<?php | ||
|
||
namespace Superbalist\LaravelEventPubSub\Events; | ||
|
||
use Superbalist\EventPubSub\ValidationResult; | ||
|
||
class ValidationFailureEvent | ||
{ | ||
/** | ||
* @var ValidationResult | ||
*/ | ||
public $result; | ||
|
||
/** | ||
* @param ValidationResult $result | ||
*/ | ||
public function __construct(ValidationResult $result) | ||
{ | ||
$this->result = $result; | ||
} | ||
} |
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