You are here

public function ProjectRelease::getDate in Drupal 10

Same name and namespace in other branches
  1. 9 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;
}