‪TYPO3CMS  ‪main
TYPO3\CMS\Extbase\Tests\Unit\Persistence\Fixture\Model\Entity2 Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Tests\Unit\Persistence\Fixture\Model\Entity2:
TYPO3\CMS\Extbase\DomainObject\AbstractEntity TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface TYPO3\CMS\Extbase\Persistence\ObjectMonitoringInterface

Public Attributes

string $someString
 
int $someInteger
 
Entity3 $someReference
 
array $someReferenceArray = []
 
- ‪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
 

Additional Inherited Members

- ‪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)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
 isPropertyDirty (mixed $previousValue, mixed $currentValue)
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
int $uid = null
 
int $_localizedUid = null
 
int $_languageUid = null
 
int $_versionedUid = null
 
int $pid = null
 

Detailed Description

A model fixture used for testing the persistence manager

Definition at line 25 of file Entity2.php.

Member Data Documentation

◆ $someInteger

int TYPO3\CMS\Extbase\Tests\Unit\Persistence\Fixture\Model\Entity2::$someInteger

Definition at line 32 of file Entity2.php.

◆ $someReference

Entity3 TYPO3\CMS\Extbase\Tests\Unit\Persistence\Fixture\Model\Entity2::$someReference

Definition at line 34 of file Entity2.php.

◆ $someReferenceArray

array TYPO3\CMS\Extbase\Tests\Unit\Persistence\Fixture\Model\Entity2::$someReferenceArray = []

Definition at line 36 of file Entity2.php.

◆ $someString

string TYPO3\CMS\Extbase\Tests\Unit\Persistence\Fixture\Model\Entity2::$someString

Just a normal string

Definition at line 30 of file Entity2.php.