Table of Contents
Methods
-
banUser()
: bool
-
blockUser()
: bool
-
create()
: bool
-
delete()
: bool
-
deleteOwn()
: bool
-
unBlockUser()
: bool
-
update()
: bool
-
uploadAvatar()
: bool
-
view()
: bool
-
viewAny()
: bool
-
viewLocation()
: bool
-
viewOnProfilePage()
: bool
-
viewOwner()
: bool
banUser()
public
banUser(User $user, User $owner) : bool
Parameters
-
$user
: User
-
-
$owner
: User
-
blockUser()
public
blockUser(User $user[, User|null $owner = null ]) : bool
Parameters
-
$user
: User
-
-
$owner
: User|null
= null
-
create()
public
create(User $user[, User|null $owner = null ]) : bool
Parameters
-
$user
: User
-
-
$owner
: User|null
= null
-
delete()
public
delete(User $user[, Entity|null $resource = null ]) : bool
Parameters
-
$user
: User
-
-
$resource
: Entity|null
= null
-
deleteOwn()
public
deleteOwn(User $user[, Entity|null $resource = null ]) : bool
Parameters
-
$user
: User
-
-
$resource
: Entity|null
= null
-
unBlockUser()
public
unBlockUser(User $user[, User|null $owner = null ]) : bool
Parameters
-
$user
: User
-
-
$owner
: User|null
= null
-
update()
public
update(User $user[, Entity|null $resource = null ]) : bool
Parameters
-
$user
: User
-
-
$resource
: Entity|null
= null
-
uploadAvatar()
public
uploadAvatar(User $user, User $owner) : bool
Parameters
-
$user
: User
-
-
$owner
: User
-
view()
public
view(User $user, Entity $resource) : bool
Parameters
-
$user
: User
-
-
$resource
: Entity
-
viewAny()
public
viewAny(User $user[, User|null $owner = null ]) : bool
Parameters
-
$user
: User
-
-
$owner
: User|null
= null
-
viewLocation()
public
viewLocation(User $user, User $owner) : bool
Parameters
-
$user
: User
-
-
$owner
: User
-
viewOnProfilePage()
public
viewOnProfilePage(User $user, User $owner) : bool
Parameters
-
$user
: User
-
-
$owner
: User
-
viewOwner()
public
viewOwner(User $user[, User|null $owner = null ]) : bool
Parameters
-
$user
: User
-
-
$owner
: User|null
= null
-