public function __construct(Connection $connection) { $this->connection = $connection; $this->manager = $this->connection->getSchemaManager(); $this->schema = $this->manager->createSchema(); }