YamlDumper should dump Definition::getFactoryClass() setting
merged branch palex-fpt/I-7542 (PR #7595)

This PR was merged into the master branch.

Discussion
----------

YamlDumper should dump Definition::$factoryClass setting

It should fix #7542

Commits
-------

77f00d2 YamlDumper should dump Definition::getFactoryClass() setting