public function createUser(array $input): User
    {
        User::unguard();

        $user = new User([
            'email' => $input['email'],
            'password' => $input['password'],
            'fullname' => $input['fullname'],
            'status' => User::VERIFIED,
        ]);

        \event('orchestra.install: user', [$user, $input]);

        $user->save();

        return $user;
    }
public function createUser(array $input): User
    {
        User::unguard();

        $user = new User([
            'email' => $input['email'],
            'password' => $input['password'],
            'fullname' => $input['fullname'],
            'status' => User::VERIFIED,
        ]);

        \event('orchestra.install: user', [$user, $input]);

        $user->save();

        return $user;
    }
public function createUser ( array $ input ) : User { User :: unguard ( ) ; $ user = new User ( [ 'email' => $ input [ 'email' ] , 'password' => $ input [ 'password' ] , 'fullname' => $ input [ 'fullname' ] , 'status' => User :: VERIFIED , ] ) ; \ event ( 'orchestra.install: user' , [ $ user , $ input ] ) ; $ user -> save ( ) ; return $ user ; }
Create user account.

@param  array  $input

@return \Orchestra\Model\User
Create user account .