You are here

public function PathMatcher::__construct in Acquia Lift Connector 8.4

Same name and namespace in other branches
  1. 8 src/Service/Helper/PathMatcher.php \Drupal\acquia_lift\Service\Helper\PathMatcher::__construct()
  2. 8.3 src/Service/Helper/PathMatcher.php \Drupal\acquia_lift\Service\Helper\PathMatcher::__construct()

Constructor.

Parameters

\Drupal\path_alias\AliasManagerInterface $alias_manager: The alias manager service.

\Drupal\Core\Path\PathMatcherInterface $path_matcher: The path matcher service.

File

src/Service/Helper/PathMatcher.php, line 31

Class

PathMatcher

Namespace

Drupal\acquia_lift\Service\Helper

Code

public function __construct(AliasManagerInterface $alias_manager, PathMatcherInterface $path_matcher) {
  $this->aliasManager = $alias_manager;
  $this->pathMatcher = $path_matcher;
}