public function __construct(ConfigMapper $configMapper, IConfig $config, UserMapper $userMapper, AttachmentMapper $attachmentMapper, StartConv $startconv, Messages $messages, Join $join, Chat $app) { parent::__construct($configMapper, $config); $this->userMapper = $userMapper; $this->attachmentMapper = $attachmentMapper; $this->startconv = $startconv; $this->messages = $messages; $this->join = $join; $this->app = $app; }
public function __construct(ConfigMapper $configMapper, IConfig $config, Chat $app) { parent::__construct($configMapper, $config); $this->app = $app; }