I have a builder for my HTML layout and use it in ...
# announcements
q
I have a builder for my HTML layout and use it in my controllers. I want encapsulate a
render
function into my API file and don't want to provide an possibility to call it from builder
s
incaps?
d
Use an interface which is implemented by your
LAYOUT
class and use that as the lambda receiver.
👍 1
q
encapsulate