Skip to content

Commit 88a3032

Browse files
author
Bernhard Schmitt
committed
Avoid premature controller context instantiation
1 parent 487dcc2 commit 88a3032

3 files changed

Lines changed: 0 additions & 37 deletions

File tree

Classes/Aspect/UriServiceInitializationAspect.php

Lines changed: 0 additions & 30 deletions
This file was deleted.

Classes/Fusion/UriServiceInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ public function getNodeUri(
2323
?string $format = null
2424
): UriInterface;
2525

26-
public function useControllerContext(ControllerContext $controllerContext): void;
27-
2826
public function getResourceUri(string $packageKey, string $resourcePath): UriInterface;
2927

3028
public function getPersistentResourceUri(PersistentResource $resource): ?UriInterface;

Classes/Infrastructure/UriService.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ public function __construct(
4545
) {
4646
}
4747

48-
public function useControllerContext(ControllerContext $controllerContext): void
49-
{
50-
$this->controllerContext = $controllerContext;
51-
}
52-
5348
public function getNodeUri(Node $documentNode, bool $absolute = false, ?string $format = null): UriInterface
5449
{
5550
$contentRepository = $this->contentRepositoryRegistry->get(

0 commit comments

Comments
 (0)