Back to CheckJoomlaUpdatesCommand class

Method setUpdateInfo

public void
setUpdateInfo
(mixed $info = null)
Sets the Update Information
Parameters
  • null $info stores update Information
Returns
  • void
Since
  • 4.0.0

Method setUpdateInfo - Source code

/**
 * Sets the Update Information
 *
 * @param   null  $info  stores update Information
 *
 * @return void
 *
 * @since 4.0.0
 */
public function setUpdateInfo($info = null) : void
{
    if (!$info) {
        $this->updateInfo = $this->getUpdateInformationFromModel();
    } else {
        $this->updateInfo = $info;
    }
}