interface StatusInfoInterface

  1. 8.0.x lib/Drush/UpdateService/StatusInfoInterface.php StatusInfoInterface
  2. 7.x lib/Drush/UpdateService/StatusInfoInterface.php StatusInfoInterface
  3. master lib/Drush/UpdateService/StatusInfoInterface.php StatusInfoInterface

Namespace

Drush\UpdateService

Implemented by

Hierarchy

Expanded class hierarchy of StatusInfoInterface

Members

Contains filters are case sensitive
Name Modifiers Type Descriptionsort ascending
StatusInfoInterface::lastCheck function Returns time of last check of available updates.
StatusInfoInterface::refresh function Refresh update status information.
StatusInfoInterface::getStatus function Get update information for all installed projects.
StatusInfoInterface::__construct public function Constructor. @todo this pertains to a yet to be defined EngineInterface.

File

lib/Drush/UpdateService/StatusInfoInterface.php, line 10
Interface for update_status engine implementations.

View source
interface StatusInfoInterface {

  /**
   * Constructor.
   * @todo this pertains to a yet to be defined EngineInterface.
   */
  public function __construct($type, $engine, $config);

  /**
   * Returns time of last check of available updates.
   */
  function lastCheck();

  /**
   * Refresh update status information.
   */
  function refresh();

  /**
   * Get update information for all installed projects.
   *
   * @return Array containing remote and local versions
   * for all installed projects.
   */
  function getStatus($projects, $check_disabled);
}