public function Project::getDevRelease

8.0.x Project.php public Project::getDevRelease()
7.x Project.php public Project::getDevRelease()
master Project.php public Project::getDevRelease()

Pick the first dev release from XML list.

Return value

array|bool The selected release xml object or FALSE.

File

lib/Drush/UpdateService/Project.php, line 378

Namespace

Drush\UpdateService

Class

Project
Representation of a project's release info from the update service.

Code

public function getDevRelease() {
  $releases = $this->searchReleases('version_extra', 'dev');
  return self::getBestRelease($releases);
}