APasswordSharePropertyType
in package
implements
ISharePropertyType, ISharePropertyTypeModifyValue
AbstractYes
Tags
Attributes
- #[Implementable]
- $since: '35.0.0'
Table of Contents
Interfaces
Constants
- PLACEHOLDER : string = 'PROVOKJNLDSV'
Properties
- $eventDispatcher : IEventDispatcher|null
- $hasher : IHasher|null
Methods
- format() : SharingPropertyPassword
- modifyValueOnLoad() : string|null
- Modify the value whenever a share is fetched from the database.
- modifyValueOnSave() : string|null
- Modify the value whenever a share is created or updated in the database.
- validateValue() : true|string
- Validates the value when the share is created or updated in the database.
- getEventDispatcher() : IEventDispatcher
- getHasher() : IHasher
Constants
PLACEHOLDER
public
string
PLACEHOLDER
= 'PROVOKJNLDSV'
Tags
Properties
$eventDispatcher
private
IEventDispatcher|null
$eventDispatcher
= null
$hasher
private
IHasher|null
$hasher
= null
Methods
format()
public
format(SharingProperty $property) : SharingPropertyPassword
Parameters
- $property : SharingProperty
Tags
Attributes
- #[Override]
Return values
SharingPropertyPasswordmodifyValueOnLoad()
Modify the value whenever a share is fetched from the database.
public
modifyValueOnLoad(string|null $value) : string|null
Parameters
- $value : string|null
Tags
Attributes
- #[Override]
Return values
string|nullmodifyValueOnSave()
Modify the value whenever a share is created or updated in the database.
public
modifyValueOnSave(string|null $oldValue, string|null $newValue) : string|null
Parameters
- $oldValue : string|null
- $newValue : string|null
Tags
Attributes
- #[Override]
Return values
string|nullvalidateValue()
Validates the value when the share is created or updated in the database.
public
validateValue(IFactory $l10nFactory, string $value) : true|string
Parameters
- $l10nFactory : IFactory
- $value : string
Tags
Attributes
- #[Override]
Return values
true|stringgetEventDispatcher()
private
getEventDispatcher() : IEventDispatcher
Return values
IEventDispatchergetHasher()
private
getHasher() : IHasher