PATH:
home
/
thebhoeo
/
.trash
/
backwpup
/
vendor
/
inpsyde
/
backwpup-restore-shared
/
src
/
Log
<?php declare(strict_types=1); /* * This file is part of the BackWPup Restore Shared package. * * (c) Guido Scialfa <dev@guidoscialfa.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Inpsyde\Restore\Log; /** * @author Guido Scialfa <dev@guidoscialfa.com> */ class LevelExtractorFactory { /** * Create instance of LevelExtractor. * * Unfortunately BWU doesn't make use of services so we have to fallback to a Factory */ public function create(): LevelExtractor { $fileReader = new FileReader(); $logLineParser = new LogLineParser(); return new LevelExtractor($fileReader, $logLineParser); } }
[-] NullLogData.php
[edit]
[-] LevelExtractor.php
[edit]
[-] LogData.php
[edit]
[+]
..
[-] Log.php
[edit]
[-] LevelExtractorFactory.php
[edit]
[-] FileReader.php
[edit]
[-] LogLineParser.php
[edit]