*/ private AbstractSchemaManager $schemaManager; /** * @param AbstractSchemaManager $schemaManager */ public function __construct(AbstractSchemaManager $schemaManager) { $this->schemaManager = $schemaManager; } public function createSchema(): Schema { return new Schema([], [], $this->schemaManager->createSchemaConfig()); } }