public function PathUtilityBase::getNextWildcard in Drupal 7 to 8/9 Module Upgrader 8
Returns the next wildcard, if any.
Return value
\Drupal\drupalmoduleupgrader\Utility\Path\PathComponentInterface|null
File
- src/
Utility/ Path/ PathUtilityBase.php, line 97
Class
- PathUtilityBase
- Base class for PathUtilityInterface implementations.
Namespace
Drupal\drupalmoduleupgrader\Utility\PathCode
public function getNextWildcard() {
$wildcards = $this
->getWildcards()
->slice($this->_wildcard, 1);
if (isset($wildcards[$this->_wildcard])) {
return $wildcards[$this->_wildcard++];
}
}