public function TestObjectMetadata::getAssociationMappedByTargetField in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php \Doctrine\Tests\Common\Persistence\TestObjectMetadata::getAssociationMappedByTargetField()
Returns the target field of the owning side of the association.
Parameters
string $assocName:
Return value
string
Overrides ClassMetadata::getAssociationMappedByTargetField
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ PersistentObjectTest.php, line 156
Class
Namespace
Doctrine\Tests\Common\PersistenceCode
public function getAssociationMappedByTargetField($assocName) {
$assoc = array(
'children' => 'parent',
);
return $assoc[$assocName];
}