# fluent-cart/1.6.4/app/Events/UserCreated.php

FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler, version 1.6.4. 42 lines.

- Page: https://pluginprobe.com/plugins/fluent-cart/1.6.4/code/app/Events/UserCreated.php
- Raw: https://pluginprobe.com/plugins/fluent-cart/1.6.4/raw/app/Events/UserCreated.php
- Modified: 2025-10-14T16:36:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-cart/1.6.4/code/app/Events/UserCreated.php#L10-L20`.

```php
<?php

namespace FluentCart\App\Events;


class UserCreated extends EventDispatcher
{
    public string $hook = 'fluent_cart/user_created';
    protected array $listeners = [

    ];

    public $user;

    public $userId;

    public $password;


    public function __construct($user, $userId, $password)
    {
        $this->user = $user;
        $this->userId = $userId;
        $this->password = $password;
    }

    public function toArray(): array
    {
        return [
            'user' => $this->user,
            'userId' => $this->userId,
            'password' => $this->password
        ];
    }

    public function getActivityEventModel()
    {
        return $this->user;
    }

}

```
