ADateSharePropertyType
in package
implements
ISharePropertyType
AbstractYes
Tags
Attributes
- #[Implementable]
- $since: '35.0.0'
Table of Contents
Interfaces
Methods
- format() : SharingPropertyDate
- getMaxDate() : DateTimeImmutable|null
- getMinDate() : DateTimeImmutable|null
- validateValue() : true|string
- Validates the value when the share is created or updated in the database.
Methods
format()
public
format(SharingProperty $property) : SharingPropertyDate
Parameters
- $property : SharingProperty
Tags
Attributes
- #[Override]
Return values
SharingPropertyDategetMaxDate()
public
abstract getMaxDate() : DateTimeImmutable|null
Tags
Return values
DateTimeImmutable|nullgetMinDate()
public
abstract getMinDate() : DateTimeImmutable|null
Tags
Return values
DateTimeImmutable|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]