mirror of
https://github.com/friendica/friendica
synced 2025-04-27 11:50:11 +00:00
Add DI to ParsedLogIterator, replace constructors with fluent api
This commit is contained in:
parent
a62124285d
commit
ec4f53d56f
5 changed files with 88 additions and 27 deletions
|
@ -46,6 +46,7 @@ use Friendica\Database\Database;
|
|||
use Friendica\Factory;
|
||||
use Friendica\Model\Storage\IWritableStorage;
|
||||
use Friendica\Model\User\Cookie;
|
||||
use Friendica\Model\Log\ParsedLogIterator;
|
||||
use Friendica\Network;
|
||||
use Friendica\Util;
|
||||
use Psr\Log\LoggerInterface;
|
||||
|
@ -227,4 +228,9 @@ return [
|
|||
$_SERVER
|
||||
],
|
||||
],
|
||||
ParsedLogIterator::class => [
|
||||
'constructParams' => [
|
||||
[Dice::INSTANCE => Util\ReversedFileReader::class],
|
||||
]
|
||||
]
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue