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

Breadcrumb

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

function Author::hasEmail

@psalm-assert-if-true Email $this->email

2 calls to Author::hasEmail()
Author::asString in vendor/phar-io/manifest/src/values/Author.php
Author::getEmail in vendor/phar-io/manifest/src/values/Author.php

File

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

Class

Author

Namespace

PharIo\Manifest

Code

public function hasEmail() : bool {
    return $this->email !== null;
}

API Navigation

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