/**
  * @return \Doctrine\DBAL\Schema\AbstractSchemaManager
  */
 public function getSchemaManager()
 {
     return $this->connection->getSchemaManager();
 }
示例#2
0
 /**
  * Constructor.
  *
  * @param Connection $connection
  */
 public function __construct(Connection $connection)
 {
     $this->connection = $connection;
     $this->manager = $this->connection->getSchemaManager();
     $this->schema = $this->manager->createSchema();
 }