‪TYPO3CMS  ‪main
TYPO3Tests\BlogExample\Domain\Model\DateTimeImmutableExample Class Reference
Inheritance diagram for TYPO3Tests\BlogExample\Domain\Model\DateTimeImmutableExample:
TYPO3\CMS\Extbase\DomainObject\AbstractEntity TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface TYPO3\CMS\Extbase\Persistence\ObjectMonitoringInterface

Public Member Functions

 getDatetimeImmutableText ()
 
 setDatetimeImmutableText (\DateTimeImmutable $datetimeImmutableText)
 
 getDatetimeImmutableInt ()
 
 setDatetimeImmutableInt (\DateTimeImmutable $datetimeImmutableInt)
 
 getDatetimeImmutableDatetime ()
 
 setDatetimeImmutableDatetime (\DateTimeImmutable $datetimeImmutableDatetime)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
 setPid (int $pid)
 
 _setProperty (string $propertyName, mixed $value)
 
 _getProperty (string $propertyName)
 
 _memorizeCleanState (?string $propertyName=null)
 
 _memorizePropertyCleanState (string $propertyName)
 
 _getCleanProperty (string $propertyName)
 
 _isDirty (?string $propertyName=null)
 
 _isClone ()
 
 _setClone (bool $clone)
 
 __clone ()
 
non empty string __toString ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface
 getUid ()
 
 getPid ()
 
 _isNew ()
 
 _hasProperty (string $propertyName)
 

Public Attributes

string $_publicTransientValue
 
- ‪Public Attributes inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
const PROPERTY_UID = 'uid'
 
const PROPERTY_PID = 'pid'
 
const PROPERTY_LOCALIZED_UID = '_localizedUid'
 
const PROPERTY_LANGUAGE_UID = '_languageUid'
 
const PROPERTY_VERSIONED_UID = '_versionedUid'
 
int< 1, function getUid():?int { if( $this->uid !==null) { return(int) $this-> uid
 
return null
 
int< 0, function getPid():int|null { if( $this->pid===null) { return null;} return(int) $this-> pid
 
array< non-empty-string, function _getProperties():array { $properties=get_object_vars( $this);foreach( $properties as $propertyName=> $propertyValue) { if(str_starts_with( $propertyName, '_')) { unset( $properties[ $propertyName]);} } return $properties;} public function _hasProperty(string $propertyName):bool { return property_exists( $this, $propertyName);} public function _isNew():bool { return $this-> uid === null
 
array< non-empty-string, function _getCleanProperties():array { return $this-> _cleanProperties
 

Static Public Attributes

static string $publicStaticValue
 

Protected Attributes

DateTimeImmutable $datetimeImmutableText = null
 
DateTimeImmutable $datetimeImmutableInt = null
 
DateTimeImmutable $datetimeImmutableDatetime = null
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
int $uid = null
 
int $_localizedUid = null
 
int $_languageUid = null
 
int $_versionedUid = null
 
int $pid = null
 

Private Attributes

string $privateTransientValue
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
 isPropertyDirty (mixed $previousValue, mixed $currentValue)
 

Detailed Description

Definition at line 22 of file DateTimeImmutableExample.php.

Member Function Documentation

◆ getDatetimeImmutableDatetime()

TYPO3Tests\BlogExample\Domain\Model\DateTimeImmutableExample::getDatetimeImmutableDatetime ( )

◆ getDatetimeImmutableInt()

TYPO3Tests\BlogExample\Domain\Model\DateTimeImmutableExample::getDatetimeImmutableInt ( )

◆ getDatetimeImmutableText()

TYPO3Tests\BlogExample\Domain\Model\DateTimeImmutableExample::getDatetimeImmutableText ( )

◆ setDatetimeImmutableDatetime()

TYPO3Tests\BlogExample\Domain\Model\DateTimeImmutableExample::setDatetimeImmutableDatetime ( \DateTimeImmutable  $datetimeImmutableDatetime)

◆ setDatetimeImmutableInt()

TYPO3Tests\BlogExample\Domain\Model\DateTimeImmutableExample::setDatetimeImmutableInt ( \DateTimeImmutable  $datetimeImmutableInt)

◆ setDatetimeImmutableText()

TYPO3Tests\BlogExample\Domain\Model\DateTimeImmutableExample::setDatetimeImmutableText ( \DateTimeImmutable  $datetimeImmutableText)

Member Data Documentation

◆ $_publicTransientValue

string TYPO3Tests\BlogExample\Domain\Model\DateTimeImmutableExample::$_publicTransientValue

Transient value, having a name starting with _. (this property has to be ignored by Extbase when persisting this entity)

Definition at line 34 of file DateTimeImmutableExample.php.

◆ $datetimeImmutableDatetime

DateTimeImmutable TYPO3Tests\BlogExample\Domain\Model\DateTimeImmutableExample::$datetimeImmutableDatetime = null
protected

◆ $datetimeImmutableInt

DateTimeImmutable TYPO3Tests\BlogExample\Domain\Model\DateTimeImmutableExample::$datetimeImmutableInt = null
protected

◆ $datetimeImmutableText

DateTimeImmutable TYPO3Tests\BlogExample\Domain\Model\DateTimeImmutableExample::$datetimeImmutableText = null
protected

◆ $privateTransientValue

string TYPO3Tests\BlogExample\Domain\Model\DateTimeImmutableExample::$privateTransientValue
private

Transient value without any getter or setter. (this property has to be ignored by Extbase when persisting this entity)

Definition at line 40 of file DateTimeImmutableExample.php.

◆ $publicStaticValue

string TYPO3Tests\BlogExample\Domain\Model\DateTimeImmutableExample::$publicStaticValue
static

Static value which is not part of an "entity". (this property has to be ignored by Extbase when persisting this entity)

Definition at line 28 of file DateTimeImmutableExample.php.