• PHP reference
  • Models
  • Community

Users

class Models\Community\Users

Class Users.

Methods

__construct(Community $community)

Users constructor.

Parameters

boolean unlink(integer|User $user_id)

Unlink a user from this community.

Parameters

  • integer|User $user_id

Return Value

  • boolean

User add(array $attributes = [])

Create a new user, by email and/or username.

Parameters

  • array $attributes

Return Value

Exceptions