Closed Wennlys closed 4 years ago
If I use setContainer on strategy variable, it returns a ContainerAwareInterface value, but setStrategy expects another type of thing. I'm probably using this in the wrong way, but I don't know what.
Did you managed to solve? I'm with the same problem
Figured out here, the documentation is wrong, the method setContainer don't return the strategy interface like a builder pattern would.
If I use setContainer on strategy variable, it returns a ContainerAwareInterface value, but setStrategy expects another type of thing. I'm probably using this in the wrong way, but I don't know what.