src/Gateways/UserGateway.php
public function create($request)
    {
        $data = $request->all();
        $user = $this->repository->create($data);

        $event_class = "Acoustep\EntrustGui\Events\\".ucwords($this->getModelName()).'CreatedEvent';
        $event = new $event_class;
        $this->dispatcher->fire($event->setModel($user));
        return $user;
    }
public function create($request)
    {
        $data = $request->all();
        $user = $this->repository->create($data);

        $event_class = "Acoustep\EntrustGui\Events\\".ucwords($this->getModelName()).'CreatedEvent';
        $event = new $event_class;
        $this->dispatcher->fire($event->setModel($user));
        return $user;
    }
Create a user

@param Illuminate\Http\Request $request

@return Illuminate\Database\Eloquent\Model