Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
gennadigennadigennadi committed Jul 24, 2024
1 parent ca758e9 commit 02dd89e
Show file tree
Hide file tree
Showing 17 changed files with 286 additions and 143 deletions.
9 changes: 6 additions & 3 deletions config/cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,20 @@

$services
->defaults()
->public();
->public()
;

$services
->set(AstFileReferenceFileCache::class)
->args(['%cache_file%', Application::VERSION]);
->args(['%cache_file%', Application::VERSION])
;

$services->alias(AstFileReferenceDeferredCacheInterface::class, AstFileReferenceFileCache::class);
$services->alias(AstFileReferenceCacheInterface::class, AstFileReferenceDeferredCacheInterface::class);

$services
->set(CacheableFileSubscriber::class)
->args([service(AstFileReferenceFileCache::class)])
->tag('kernel.event_subscriber');
->tag('kernel.event_subscriber')
;
};
Loading

0 comments on commit 02dd89e

Please sign in to comment.