DeletableInterface
in
Deletable Interface
Tags
Table of Contents
Methods
- canDelete() : bool
- Checks if given item can be deleted.
- delete() : mixed
- Delete this object
Methods
canDelete()
Checks if given item can be deleted.
public
canDelete([User|int|string|null $user = null ]) : bool
Parameters
- $user : User|int|string|null = null
-
user instance or user id
Return values
booldelete()
Delete this object
public
delete() : mixed