Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
test
Doctrine
ODM
OrientDB
Integration
Mapper
Hydration
HydratorTest
PHP Class test\Doctrine\ODM\OrientDB\Integration\Mapper\Hydration\HydratorTest
Inheritance:
extends
Test\PhpUnit\TestCase
Show file
Open project: doctrine/orientdb-odm
Protected Properties
Property
Type
Description
$hydrator
Public Methods
Method
Description
setup
( )
testAJsonGetsConvertedToAnObject
( )
testAnAnnotatedPropertyNotPassedWithTheJSONIsNullByDefault
( )
testAnExceptionIsRaisedWhenAnObjectGetsPersistedWithAWrongClass
( )
testAnExceptionIsRaisedWhenAnObjectGetsPersistedWithoutAClass
( )
testCongowOrientObjectsOfDifferentClassesCanBeMappedByASinglePopo
( )
testHidratedCollectionsContainPopo
( )
testHydratingNullableAttributes
( )
testNoRecordsIsLostWhenHydratingACollection
( )
testPropertiesCanHaveDifferentNamesInCongowOrientAndPopo
( )
testPropertiesGetsMappedInTheObjectOnlyIfAnnotated
( )
Method Details
setup()
public
method
public
setup
( )
testAJsonGetsConvertedToAnObject()
public
method
public
testAJsonGetsConvertedToAnObject
( )
testAnAnnotatedPropertyNotPassedWithTheJSONIsNullByDefault()
public
method
public
testAnAnnotatedPropertyNotPassedWithTheJSONIsNullByDefault
( )
testAnExceptionIsRaisedWhenAnObjectGetsPersistedWithAWrongClass()
public
method
public
testAnExceptionIsRaisedWhenAnObjectGetsPersistedWithAWrongClass
( )
testAnExceptionIsRaisedWhenAnObjectGetsPersistedWithoutAClass()
public
method
public
testAnExceptionIsRaisedWhenAnObjectGetsPersistedWithoutAClass
( )
testCongowOrientObjectsOfDifferentClassesCanBeMappedByASinglePopo()
public
method
public
testCongowOrientObjectsOfDifferentClassesCanBeMappedByASinglePopo
( )
testHidratedCollectionsContainPopo()
public
method
public
testHidratedCollectionsContainPopo
( )
testHydratingNullableAttributes()
public
method
public
testHydratingNullableAttributes
( )
testNoRecordsIsLostWhenHydratingACollection()
public
method
public
testNoRecordsIsLostWhenHydratingACollection
( )
testPropertiesCanHaveDifferentNamesInCongowOrientAndPopo()
public
method
public
testPropertiesCanHaveDifferentNamesInCongowOrientAndPopo
( )
testPropertiesGetsMappedInTheObjectOnlyIfAnnotated()
public
method
public
testPropertiesGetsMappedInTheObjectOnlyIfAnnotated
( )
Property Details
$hydrator
protected property
protected
$hydrator