PasswordService implements PasswordService
Table of Contents
Interfaces
Methods
- __construct() : mixed
- clearCacheById() : void
- create() : Password|null
- deleteById() : bool
- getPasswordById() : Password|null
- getSystemPasswordCollection() : PasswordCollection
- isSystemPasswordById() : bool
Methods
__construct()
public
__construct([PasswordRepository|null $passwordRepository = null ][, PermissionService|null $permissionService = null ]) : mixed
Parameters
- $passwordRepository : PasswordRepository|null = null
- $permissionService : PermissionService|null = null
clearCacheById()
public
clearCacheById(int $id) : void
Parameters
- $id : int
create()
public
create(CreatePasswordDto $createPasswordDto) : Password|null
Parameters
- $createPasswordDto : CreatePasswordDto
Return values
Password|nulldeleteById()
public
deleteById(int $id) : bool
Parameters
- $id : int
Return values
boolgetPasswordById()
public
getPasswordById(int $id) : Password|null
Parameters
- $id : int
Return values
Password|nullgetSystemPasswordCollection()
public
getSystemPasswordCollection() : PasswordCollection
Return values
PasswordCollectionisSystemPasswordById()
public
isSystemPasswordById(int $id) : bool
Parameters
- $id : int