Doctrine\ORM\Tools\SchemaTool::getCreateSchemaSql
Gets the list of DDL statements that are required to create the database schema for the given list of ClassMetadata instances.
Signature
public function getCreateSchemaSql(array
$classes )
Parameters
$classes
— array
Returns
- array
- $sql The SQL statements needed to create the schema for the classes.