PHP Interface Doctrine\ODM\CouchDB\Mapping\MetadataResolver\MetadataResolver

Mostra file Open project: doctrine/couchdb-odm Interface Usage Examples

Public Methods

Method Description
canMapDocument ( array $documentData )
canResolveJsonField ( $jsonName )
createDefaultDocumentStruct ( ClassMetadata $class )
getDocumentType ( array $documentData )
resolveJsonField ( ClassMetadata $class, DocumentManager $dm, $documentState, $jsonName, $originalData )
storeAssociationField ( $data, ClassMetadata $class, DocumentManager $dm, $fieldName, $fieldValue )

Method Details

canMapDocument() public method

public canMapDocument ( array $documentData )
$documentData array

canResolveJsonField() public method

public canResolveJsonField ( $jsonName )

createDefaultDocumentStruct() public method

public createDefaultDocumentStruct ( ClassMetadata $class )
$class Doctrine\ODM\CouchDB\Mapping\ClassMetadata

getDocumentType() public method

public getDocumentType ( array $documentData )
$documentData array

resolveJsonField() public method

public resolveJsonField ( ClassMetadata $class, DocumentManager $dm, $documentState, $jsonName, $originalData )
$class Doctrine\ODM\CouchDB\Mapping\ClassMetadata
$dm Doctrine\ODM\CouchDB\DocumentManager

storeAssociationField() public method

public storeAssociationField ( $data, ClassMetadata $class, DocumentManager $dm, $fieldName, $fieldValue )
$class Doctrine\ODM\CouchDB\Mapping\ClassMetadata
$dm Doctrine\ODM\CouchDB\DocumentManager