Doctrine


Doctrine\ORM\Tools\ConvertDoctrine1Schema
/Doctrine/ORM/Tools/ConvertDoctrine1Schema.php at line 39

Class ConvertDoctrine1Schema

ConvertDoctrine1Schema

public class ConvertDoctrine1Schema

Class to help with converting Doctrine 1 schema files to Doctrine 2 mapping files

License:
http://www.opensource.org/licenses/lgpl-license.php LGPL
See Also:
www.doctrine-project.org
Since:
2.0
Version:
$Revision$
Author:
Guilherme Blanco
Jonathan Wage
Roman Borschel

Constructor Summary

ConvertDoctrine1Schema(array from)

Constructor passes the directory or array of directories to convert the Doctrine 1 schema files from

Method Summary
array

getMetadatas()

Get an array of ClassMetadataInfo instances from the passed Doctrine 1 schema

Constructor Detail

/Doctrine/ORM/Tools/ConvertDoctrine1Schema.php at line 54

ConvertDoctrine1Schema

public ConvertDoctrine1Schema(array from)

Constructor passes the directory or array of directories to convert the Doctrine 1 schema files from

Author:
Jonathan Wage

Method Detail

/Doctrine/ORM/Tools/ConvertDoctrine1Schema.php at line 65

getMetadatas

public array getMetadatas()

Get an array of ClassMetadataInfo instances from the passed Doctrine 1 schema

Returns:
$metadatas An array of ClassMetadataInfo instances

Doctrine