‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Type\TypeInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Core\Type\TypeInterface:
TYPO3\CMS\Core\Type\Enumeration TYPO3\CMS\Core\Type\File\FileInfo TYPO3\CMS\Backend\Toolbar\Enumeration\InformationStatus TYPO3\CMS\Core\Resource\DuplicationBehavior TYPO3\CMS\Core\Tests\UnitDeprecated\Type\Fixture\Enumeration\CompleteEnumeration TYPO3\CMS\Core\Tests\UnitDeprecated\Type\Fixture\Enumeration\DuplicateConstantValueEnumeration TYPO3\CMS\Core\Tests\UnitDeprecated\Type\Fixture\Enumeration\InvalidConstantEnumeration TYPO3\CMS\Core\Tests\UnitDeprecated\Type\Fixture\Enumeration\MissingConstantsEnumeration TYPO3\CMS\Core\Tests\UnitDeprecated\Type\Fixture\Enumeration\MissingDefaultEnumeration TYPO3\CMS\Core\Type\Icon\IconState

Public Member Functions

string __toString ()
 

Detailed Description

This is an interface that has to be used by all Core Types. All of them have to implement a __toString() method that is used to get a flatten string for the persistence of the object.

Definition at line 23 of file TypeInterface.php.

Member Function Documentation

◆ __toString()

string TYPO3\CMS\Core\Type\TypeInterface::__toString ( )

Core types must implement the __toString function in order to be serialized to the database;

Returns
‪string

Implemented in TYPO3\CMS\Core\Type\Enumeration.