add getter and setter
add test for #5a6c10d
fix method name, add method 'setValueNames'

'set' -> 'add'
update test
fix typo
fix comments
Missing space in docblocks
Ensure aliases are not set twice on instanciation
Avoid using fully qualified names within the code
Merge pull request #5068 from lucasmichot/4.2-docblocks

[4.2] Session : missing space in docblocks
Merge pull request #5064 from lucasmichot/4.2-foundation-getinstance

[4.2] Foundation : ensure aliases are not set twice on instanciation
Merge pull request #5079 from GrahamCampbell/4.2-names

[4.2] Avoid Using Fully Qualified Names Within The Code
Merge pull request #5199 from overtrue/4.2

[4.2] add setter and getter for Validatior
Cleaning up a few methods.
Fix conflicts.