Skip to content

Commit

Permalink
TASK: Remove getService method
Browse files Browse the repository at this point in the history
  • Loading branch information
dlubitz committed Jul 28, 2023
1 parent 60023aa commit eb96560
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,19 +74,6 @@ public function subgraphForNode(Node $node): ContentSubgraphInterface
);
}

/**
* @param ContentRepositoryId $contentRepositoryId
* @param ContentRepositoryServiceFactoryInterface<T> $contentRepositoryServiceFactory
* @return T
* @throws ContentRepositoryNotFoundException | InvalidConfigurationException
* @template T of ContentRepositoryServiceInterface
* @deprecated in favor of {@see self::buildService()}
*/
public function getService(ContentRepositoryId $contentRepositoryId, ContentRepositoryServiceFactoryInterface $contentRepositoryServiceFactory): ContentRepositoryServiceInterface
{
return $this->buildService($contentRepositoryId, $contentRepositoryServiceFactory);
}

/**
* @param ContentRepositoryId $contentRepositoryId
* @param ContentRepositoryServiceFactoryInterface<T> $contentRepositoryServiceFactory
Expand Down

0 comments on commit eb96560

Please sign in to comment.