PHP Interface Doctrine\ODM\CouchDB\Migrations\DocumentMigration

Since: 1.0
Author: Benjamin Eberlei ([email protected])
Datei anzeigen Open project: doctrine/couchdb-odm Interface Usage Examples

Public Methods

Method Description
migrate ( array $data ) : array Accept a CouchDB document and migrate data, return new document.

Method Details

migrate() public method

This method has to return the original data, when no migration needs to take place.
public migrate ( array $data ) : array
$data array
return array