You are here

public function Token::getToken in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 3.x modules/core_event_dispatcher/src/ValueObject/Token.php \Drupal\core_event_dispatcher\ValueObject\Token::getToken()

Getter.

Return value

string The token name like 'url'.

File

modules/core_event_dispatcher/src/ValueObject/Token.php, line 150

Class

Token
Token ValueObject.

Namespace

Drupal\core_event_dispatcher\ValueObject

Code

public function getToken() : string {
  return $this->token;
}