public function __construct(Context $context) { parent::__construct(array('db' => $context)); }
public function __construct(array $parameters = [], Container $container) { parent::__construct($parameters); $this->container = $container; }