You have to either use `setContainer` or make `$container` protected