You are here

public function PathMatcher::__construct in Acquia Lift Connector 8

Same name and namespace in other branches
  1. 8.4 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\Core\Path\AliasManagerInterface $alias_manager: The alias manager service.

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

File

src/Service/Helper/PathMatcher.php, line 37
Contains \Drupal\acquia_lift\Service\Helper\PathMatcher.

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;
}