class ConvertDoctrine1Schema (View source)

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

Methods

__construct(array $from)

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

array
getMetadata()

Gets an array of ClassMetadataInfo instances from the passed Doctrine 1 schema.

Details

__construct(array $from)

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

Parameters

array $from

array getMetadata()

Gets an array of ClassMetadataInfo instances from the passed Doctrine 1 schema.

Return Value

array An array of ClassMetadataInfo instances