AStringSharePropertyType
in package
implements
ISharePropertyType
AbstractYes
Tags
Attributes
- #[Implementable]
- $since: '35.0.0'
Table of Contents
Interfaces
Methods
- format() : SharingPropertyString
- getMaxLength() : positive-int|null
- getMinLength() : positive-int|null
- validateValue() : true|string
- Validates the value when the share is created or updated in the database.
Methods
format()
public
format(SharingProperty $property) : SharingPropertyString
Parameters
- $property : SharingProperty
Tags
Attributes
- #[Override]
Return values
SharingPropertyStringgetMaxLength()
public
abstract getMaxLength() : positive-int|null
Tags
Return values
positive-int|nullgetMinLength()
public
abstract getMinLength() : positive-int|null
Tags
Return values
positive-int|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]