Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Author.php

function Author::getEmail

Same name in this branch
  1. 11.1.x vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Author.php \phpDocumentor\Reflection\DocBlock\Tags\Author::getEmail()

File

vendor/phar-io/manifest/src/values/Author.php, line 50

Class

Author

Namespace

PharIo\Manifest

Code

public function getEmail() : Email {
    if (!$this->hasEmail()) {
        throw new NoEmailAddressException();
    }
    return $this->email;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal