CakePHP 3: Output ACL permissions as HTML

I want to output the ACL structure associated with Roles as HTML, in my admin UI - say when a user is viewing a role.

Is there any built-in method that’ll help me build the tree in printable format in my Controllers?

Thank you.