-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Robin Appelman <robin@icewind.nl>
- Loading branch information
1 parent
d78563c
commit 7a91abb
Showing
7 changed files
with
103 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?php | ||
|
||
namespace OC\Files\Cache; | ||
|
||
use OC\SystemConfig; | ||
use OCP\EventDispatcher\IEventDispatcher; | ||
use OCP\Files\IMimeTypeLoader; | ||
use OCP\FilesMetadata\IFilesMetadataManager; | ||
use OCP\IDBConnection; | ||
use Psr\Log\LoggerInterface; | ||
|
||
class CacheDependencies { | ||
public function __construct( | ||
private IMimeTypeLoader $mimeTypeLoader, | ||
private IDBConnection $connection, | ||
private IEventDispatcher $eventDispatcher, | ||
private QuerySearchHelper $querySearchHelper, | ||
private SystemConfig $systemConfig, | ||
private LoggerInterface $logger, | ||
private IFilesMetadataManager $metadataManager, | ||
) { | ||
} | ||
|
||
public function getMimeTypeLoader(): IMimeTypeLoader { | ||
return $this->mimeTypeLoader; | ||
} | ||
|
||
public function getConnection(): IDBConnection { | ||
return $this->connection; | ||
} | ||
|
||
public function getEventDispatcher(): IEventDispatcher { | ||
return $this->eventDispatcher; | ||
} | ||
|
||
public function getQuerySearchHelper(): QuerySearchHelper { | ||
return $this->querySearchHelper; | ||
} | ||
|
||
public function getSystemConfig(): SystemConfig { | ||
return $this->systemConfig; | ||
} | ||
|
||
public function getLogger(): LoggerInterface { | ||
return $this->logger; | ||
} | ||
|
||
public function getMetadataManager(): IFilesMetadataManager { | ||
return $this->metadataManager; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters