File manager - Edit - /home/u816558632/domains/postills.com/public_html/public/Events.tar
Back
ProductsCreatedOrModified.php 0000644 00000001637 15002261124 0012312 0 ustar 00 <?php namespace App\Events; use Illuminate\Broadcasting\Channel; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Broadcasting\PresenceChannel; use Illuminate\Broadcasting\PrivateChannel; use Illuminate\Contracts\Broadcasting\ShouldBroadcast; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; class ProductsCreatedOrModified { use Dispatchable, InteractsWithSockets, SerializesModels; public $product; public $action; /** * Create a new event instance. * * @return void */ public function __construct($product, $action) { $this->product = $product; $this->action = $action; } /** * Get the channels the event should broadcast on. * * @return \Illuminate\Broadcasting\Channel|array */ public function broadcastOn() { return new PrivateChannel('channel-name'); } } TransactionPaymentDeleted.php 0000644 00000000744 15002261124 0012365 0 ustar 00 <?php namespace App\Events; use Illuminate\Queue\SerializesModels; class TransactionPaymentDeleted { use SerializesModels; public $transactionPayment; public $isDeleted; /** * Create a new event instance. * * @return void */ public function __construct($transactionPayment) { $this->transactionPayment = $transactionPayment; //used in accounting MapPaymentTransaction $this->isDeleted = true; } } ExpenseCreatedOrModified.php 0000644 00000001667 15002261124 0012121 0 ustar 00 <?php namespace App\Events; use Illuminate\Broadcasting\Channel; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Broadcasting\PresenceChannel; use Illuminate\Broadcasting\PrivateChannel; use Illuminate\Contracts\Broadcasting\ShouldBroadcast; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; class ExpenseCreatedOrModified { use Dispatchable, InteractsWithSockets, SerializesModels; public $expense; public $isDeleted; /** * Create a new event instance. * * @return void */ public function __construct($expense, $isDeleted = false) { $this->expense = $expense; $this->isDeleted = $isDeleted; } /** * Get the channels the event should broadcast on. * * @return \Illuminate\Broadcasting\Channel|array */ public function broadcastOn() { return new PrivateChannel('channel-name'); } } ContactCreatedOrModified.php 0000644 00000001636 15002261124 0012101 0 ustar 00 <?php namespace App\Events; use Illuminate\Broadcasting\Channel; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Broadcasting\PresenceChannel; use Illuminate\Broadcasting\PrivateChannel; use Illuminate\Contracts\Broadcasting\ShouldBroadcast; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; class ContactCreatedOrModified { use Dispatchable, InteractsWithSockets, SerializesModels; public $contact; public $action; /** * Create a new event instance. * * @return void */ public function __construct($contact, $action) { $this->contact = $contact; $this->action = $action; } /** * Get the channels the event should broadcast on. * * @return \Illuminate\Broadcasting\Channel|array */ public function broadcastOn() { return new PrivateChannel('channel-name'); } } UserCreatedOrModified.php 0000644 00000001617 15002261124 0011423 0 ustar 00 <?php namespace App\Events; use Illuminate\Broadcasting\Channel; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Broadcasting\PresenceChannel; use Illuminate\Broadcasting\PrivateChannel; use Illuminate\Contracts\Broadcasting\ShouldBroadcast; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; class UserCreatedOrModified { use Dispatchable, InteractsWithSockets, SerializesModels; public $user; public $action; /** * Create a new event instance. * * @return void */ public function __construct($user, $action) { $this->user = $user; $this->action = $action; } /** * Get the channels the event should broadcast on. * * @return \Illuminate\Broadcasting\Channel|array */ public function broadcastOn() { return new PrivateChannel('channel-name'); } } TransactionPaymentAdded.php 0000644 00000001057 15002261124 0012016 0 ustar 00 <?php namespace App\Events; use App\TransactionPayment; use Illuminate\Queue\SerializesModels; class TransactionPaymentAdded { use SerializesModels; public $transactionPayment; public $formInput; /** * Create a new event instance. * * @param Order $order * @param array $formInput = [] * @return void */ public function __construct(TransactionPayment $transactionPayment, $formInput = []) { $this->transactionPayment = $transactionPayment; $this->formInput = $formInput; } } PurchaseCreatedOrModified.php 0000644 00000001746 15002261124 0012262 0 ustar 00 <?php namespace App\Events; use Illuminate\Broadcasting\Channel; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Broadcasting\PresenceChannel; use Illuminate\Broadcasting\PrivateChannel; use Illuminate\Contracts\Broadcasting\ShouldBroadcast; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; use App\Transaction; class PurchaseCreatedOrModified { use Dispatchable, InteractsWithSockets, SerializesModels; public $transaction; public $isDeleted; /** * Create a new event instance. * * @return void */ public function __construct(Transaction $transaction, $isDeleted = false) { $this->transaction = $transaction; $this->isDeleted = $isDeleted; } /** * Get the channels the event should broadcast on. * * @return \Illuminate\Broadcasting\Channel|array */ public function broadcastOn() { return new PrivateChannel('channel-name'); } } SellCreatedOrModified.php 0000644 00000001620 15002261124 0011376 0 ustar 00 <?php namespace App\Events; use Illuminate\Broadcasting\Channel; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Broadcasting\PresenceChannel; use Illuminate\Broadcasting\PrivateChannel; use Illuminate\Contracts\Broadcasting\ShouldBroadcast; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; use App\Transaction; class SellCreatedOrModified { use Dispatchable, InteractsWithSockets, SerializesModels; public $transaction; /** * Create a new event instance. * * @return void */ public function __construct(Transaction $transaction) { $this->transaction = $transaction; } /** * Get the channels the event should broadcast on. * * @return \Illuminate\Broadcasting\Channel|array */ public function broadcastOn() { return new PrivateChannel('channel-name'); } } StockTransferCreatedOrModified.php 0000644 00000001634 15002261124 0013274 0 ustar 00 <?php namespace App\Events; use Illuminate\Broadcasting\Channel; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Broadcasting\PresenceChannel; use Illuminate\Broadcasting\PrivateChannel; use Illuminate\Contracts\Broadcasting\ShouldBroadcast; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; class StockTransferCreatedOrModified { use Dispatchable, InteractsWithSockets, SerializesModels; public $stock; public $action; /** * Create a new event instance. * * @return void */ public function __construct($stock, $action) { $this->stock = $stock; $this->action = $action; } /** * Get the channels the event should broadcast on. * * @return \Illuminate\Broadcasting\Channel|array */ public function broadcastOn() { return new PrivateChannel('channel-name'); } } TransactionPaymentUpdated.php 0000644 00000001001 15002261124 0012370 0 ustar 00 <?php namespace App\Events; use App\TransactionPayment; use Illuminate\Queue\SerializesModels; class TransactionPaymentUpdated { use SerializesModels; public $transactionPayment; public $transactionType; /** * Create a new event instance. * * @return void */ public function __construct(TransactionPayment $transactionPayment, $transactionType) { $this->transactionPayment = $transactionPayment; $this->transactionType = $transactionType; } } StockAdjustmentCreatedOrModified.php 0000644 00000001706 15002261124 0013626 0 ustar 00 <?php namespace App\Events; use Illuminate\Broadcasting\Channel; use Illuminate\Broadcasting\InteractsWithSockets; use Illuminate\Broadcasting\PresenceChannel; use Illuminate\Broadcasting\PrivateChannel; use Illuminate\Contracts\Broadcasting\ShouldBroadcast; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; class StockAdjustmentCreatedOrModified { use Dispatchable, InteractsWithSockets, SerializesModels; public $stockAdjustment; public $action; /** * Create a new event instance. * * @return void */ public function __construct($stockAdjustment, $action) { $this->stockAdjustment = $stockAdjustment; $this->action = $action; } /** * Get the channels the event should broadcast on. * * @return \Illuminate\Broadcasting\Channel|array */ public function broadcastOn() { return new PrivateChannel('channel-name'); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Generation time: 0 |
proxy
|
phpinfo
|
Settings