public function __construct($db) { parent::__construct($db); $this->accountService = new AccountService($db); }