Skip to content

Commit

Permalink
Update event docs
Browse files Browse the repository at this point in the history
  • Loading branch information
that-guy-iain committed Dec 14, 2024
1 parent 138727e commit b3c3751
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/developer/events/customer.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ This is triggered when a customer is created.
namespace BillaBear\Event\Customer;

use BillaBear\Entity\Customer;
use Symfony\Contracts\EventDispatcher\Event;

class CustomerCreated
class CustomerCreated extends Event
{
public const string NAME = 'billabear.customer.created';

Expand All @@ -44,8 +45,9 @@ This is triggered when a customer is disabled.
namespace BillaBear\Event\Customer;

use BillaBear\Entity\Customer;
use Symfony\Contracts\EventDispatcher\Event;

class CustomerDisabled
class CustomerDisabled extends Event
{
public const string NAME = 'billabear.customer.disabled';

Expand All @@ -69,8 +71,9 @@ This is triggered when a disabled customer is enabled again
namespace BillaBear\Event\Customer;

use BillaBear\Entity\Customer;
use Symfony\Contracts\EventDispatcher\Event;

class CustomerEnabled
class CustomerEnabled extends Event
{
public const string NAME = 'billabear.customer.enabled';

Expand Down

0 comments on commit b3c3751

Please sign in to comment.