Initial commit: CloudOps infrastructure platform
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Mautic\LeadBundle\Field\Event;
|
||||
|
||||
use Mautic\LeadBundle\Entity\LeadField;
|
||||
use Symfony\Contracts\EventDispatcher\Event;
|
||||
|
||||
final class AddColumnBackgroundEvent extends Event
|
||||
{
|
||||
public function __construct(
|
||||
private LeadField $leadField,
|
||||
) {
|
||||
}
|
||||
|
||||
public function getLeadField(): LeadField
|
||||
{
|
||||
return $this->leadField;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Mautic\LeadBundle\Field\Event;
|
||||
|
||||
use Mautic\LeadBundle\Entity\LeadField;
|
||||
use Symfony\Contracts\EventDispatcher\Event;
|
||||
|
||||
final class AddColumnEvent extends Event
|
||||
{
|
||||
public function __construct(
|
||||
private LeadField $leadField,
|
||||
private bool $shouldProcessInBackground,
|
||||
) {
|
||||
}
|
||||
|
||||
public function getLeadField(): LeadField
|
||||
{
|
||||
return $this->leadField;
|
||||
}
|
||||
|
||||
public function shouldProcessInBackground(): bool
|
||||
{
|
||||
return $this->shouldProcessInBackground;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Mautic\LeadBundle\Field\Event;
|
||||
|
||||
use Mautic\LeadBundle\Entity\LeadField;
|
||||
use Symfony\Contracts\EventDispatcher\Event;
|
||||
|
||||
final class DeleteColumnBackgroundEvent extends Event
|
||||
{
|
||||
public function __construct(private LeadField $leadField)
|
||||
{
|
||||
}
|
||||
|
||||
public function getLeadField(): LeadField
|
||||
{
|
||||
return $this->leadField;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Mautic\LeadBundle\Field\Event;
|
||||
|
||||
use Mautic\LeadBundle\Entity\LeadField;
|
||||
use Symfony\Contracts\EventDispatcher\Event;
|
||||
|
||||
final class DeleteColumnEvent extends Event
|
||||
{
|
||||
public function __construct(private LeadField $leadField, private bool $shouldProcessInBackground)
|
||||
{
|
||||
}
|
||||
|
||||
public function getLeadField(): LeadField
|
||||
{
|
||||
return $this->leadField;
|
||||
}
|
||||
|
||||
public function shouldProcessInBackground(): bool
|
||||
{
|
||||
return $this->shouldProcessInBackground;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Mautic\LeadBundle\Field\Event;
|
||||
|
||||
use Mautic\LeadBundle\Entity\LeadField;
|
||||
use Symfony\Contracts\EventDispatcher\Event;
|
||||
|
||||
final class UpdateColumnBackgroundEvent extends Event
|
||||
{
|
||||
public function __construct(private LeadField $leadField)
|
||||
{
|
||||
}
|
||||
|
||||
public function getLeadField(): LeadField
|
||||
{
|
||||
return $this->leadField;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Mautic\LeadBundle\Field\Event;
|
||||
|
||||
use Mautic\LeadBundle\Entity\LeadField;
|
||||
use Symfony\Contracts\EventDispatcher\Event;
|
||||
|
||||
final class UpdateColumnEvent extends Event
|
||||
{
|
||||
public function __construct(
|
||||
private LeadField $leadField,
|
||||
private bool $shouldProcessInBackground,
|
||||
) {
|
||||
}
|
||||
|
||||
public function getLeadField(): LeadField
|
||||
{
|
||||
return $this->leadField;
|
||||
}
|
||||
|
||||
public function shouldProcessInBackground(): bool
|
||||
{
|
||||
return $this->shouldProcessInBackground;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user