Add EndpointTrait
Add FQCN
Merge pull request #6229 from lucasmichot/5.0-endpoint-trait

[5.0] Add EndpointTrait