public function __construct($appName, IRequest $request, $userId, SmsMapper $mapper, ConversationStateMapper $cmapper, ConfigMapper $cfgMapper, IContactsManager $contactsManager, IURLGenerator $urlGenerator) { parent::__construct($appName, $request); $this->userId = $userId; $this->smsMapper = $mapper; $this->convStateMapper = $cmapper; $this->configMapper = $cfgMapper; $this->urlGenerator = $urlGenerator; $this->contactCache = new ContactCache($cfgMapper, $contactsManager); }