public function __construct(Container $container, $service) { $this->setContainer($container); $this->service = $service; }