[RFR] Add DocBlocks

This PR aims to add docblocks on each method in services/directives to improve the readability of the code.

 - [x] Add docblock for ApiFoundation
 - [x] Add docblock for EventBridge
 - [x] Add docblock for JsonPatch
 - [x] Add docblock for Menu
 - [x] Add docblock for NodeFactory
 - [x] Add docblock for ObjectMapper
 - [x] Add docblock for RepositoryFactory
 - [x] Add docblock for RouteParametersConverter
 - [x] Add docblock for SmartPropertyFactory
 - [x] Add docblock for TreeFactory
 - [x] Add docblock for RichTreeFactory
 - [x] Add docblock for WorkspaceFactory
 - [x] Add docblock for tree-node
 - [x] Add docblock for tree