ClassDefinitionBuilder: add more readable method aliases

4 jobs for definition-dsl in 25 seconds (queued for 5 seconds)
Status Name Job ID Coverage
  Build
passed build.composer #281645

00:00:11

 
  Test
passed test.linter #281648

00:00:09

passed test.phpstan #281647

00:00:13

passed test.tests #281646

00:00:11