AdminWeb /
PayerPagSeguro
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * Created by PhpStorm. |
||
| 4 | * User: igor |
||
| 5 | * Date: 16/08/18 |
||
| 6 | * Time: 22:34 |
||
| 7 | */ |
||
| 8 | |||
| 9 | namespace AdminWeb\PayerPagSeguro\Events; |
||
| 10 | |||
| 11 | use AdminWeb\Payer\Events\EventInterface; |
||
| 12 | use Illuminate\Broadcasting\Channel; |
||
| 13 | use Illuminate\Broadcasting\InteractsWithSockets; |
||
| 14 | use Illuminate\Contracts\Broadcasting\ShouldBroadcast; |
||
| 15 | use Illuminate\Foundation\Events\Dispatchable; |
||
| 16 | use Illuminate\Queue\SerializesModels; |
||
| 17 | use Illuminate\Support\Facades\Event; |
||
| 18 | |||
| 19 | abstract class AbstractEvent extends Event implements EventInterface, ShouldBroadcast |
||
| 20 | { |
||
| 21 | use Dispatchable, InteractsWithSockets, SerializesModels; |
||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
| 22 | |||
| 23 | const WAITING_PAYMENT = 'WAITING_PAYMENT'; |
||
| 24 | const IN_ANALYSIS = 'IN_ANALYSIS'; |
||
| 25 | const CONTEST = 'CONTEST'; |
||
| 26 | const RETURNED = 'RETURNED'; |
||
| 27 | const AVAILABLE = 'AVAILABLE'; |
||
| 28 | const DEBITED = 'DEBITED'; |
||
| 29 | |||
| 30 | public function broadcastOn() |
||
| 31 | { |
||
| 32 | return new Channel('payment'); |
||
| 33 | } |
||
| 34 | } |