My mistake, the version I was referring to was 2.3.4, which does not contain the method.

If I'm not mistaken according to packagist 2.3.4 is the newest stable, so anyone following directions to require (as the tutorial does) "doctrine/orm" : "2.*" will receive 2.3.4, and the cli-config.php will fail.

Perhaps the solution is to change the tutorial to require "2.4.*"