Initializes a new SchemaTool instance that uses the connection of the
provided EntityManager.
public __construct ( |
||
$em |
/** * {@inheritdoc} */ public function __construct(EntityManagerInterface $em) { $this->em = $em; $this->platform = $this->getConnection()->getDatabasePlatform(); parent::__construct($em); }