function ProjectRelease::getDate

Same name in other branches
  1. 10 core/modules/update/src/ProjectRelease.php \Drupal\update\ProjectRelease::getDate()
  2. 11.x core/modules/update/src/ProjectRelease.php \Drupal\update\ProjectRelease::getDate()

Gets the release date if set.

Return value

int|null The date of the release or null if no date is available.

File

core/modules/update/src/ProjectRelease.php, line 191

Class

ProjectRelease
Provides a project release value object.

Namespace

Drupal\update

Code

public function getDate() : ?int {
    return $this->date;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.