2023-09-09 11:14:36 +02:00
|
|
|
<?php
|
|
|
|
/**
|
2024-01-02 21:57:26 +01:00
|
|
|
* @copyright Copyright (C) 2010-2024, the Friendica project
|
2023-09-09 11:14:36 +02:00
|
|
|
*
|
|
|
|
* @license GNU AGPL version 3 or any later version
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Affero General Public License as
|
|
|
|
* published by the Free Software Foundation, either version 3 of the
|
|
|
|
* License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Affero General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace Friendica\Content\Conversation\Factory;
|
|
|
|
|
2023-10-07 11:44:24 +02:00
|
|
|
use Friendica\Content\Conversation\Repository\UserDefinedChannel;
|
2023-09-09 11:14:36 +02:00
|
|
|
use Friendica\Core\Config\Capability\IManageConfigValues;
|
|
|
|
use Friendica\Core\L10n;
|
|
|
|
use Psr\Log\LoggerInterface;
|
|
|
|
|
2023-10-07 11:44:24 +02:00
|
|
|
class Timeline extends \Friendica\BaseFactory
|
2023-09-09 11:14:36 +02:00
|
|
|
{
|
|
|
|
/** @var L10n */
|
|
|
|
protected $l10n;
|
|
|
|
/** @var IManageConfigValues The config */
|
|
|
|
protected $config;
|
2023-10-07 11:44:24 +02:00
|
|
|
/** @var UserDefinedChannel */
|
2023-10-06 13:38:29 +02:00
|
|
|
protected $channelRepository;
|
2023-09-09 11:14:36 +02:00
|
|
|
|
2023-10-07 11:44:24 +02:00
|
|
|
public function __construct(UserDefinedChannel $channel, L10n $l10n, LoggerInterface $logger, IManageConfigValues $config)
|
2023-09-09 11:14:36 +02:00
|
|
|
{
|
|
|
|
parent::__construct($logger);
|
|
|
|
|
2023-10-06 13:38:29 +02:00
|
|
|
$this->channelRepository = $channel;
|
|
|
|
$this->l10n = $l10n;
|
|
|
|
$this->config = $config;
|
2023-09-19 11:05:28 +02:00
|
|
|
}
|
2023-09-09 11:14:36 +02:00
|
|
|
}
|