You are here

LiveWeatherInterface.php in Live Weather 8.2

Same filename and directory in other branches
  1. 8 src/LiveWeatherInterface.php

File

src/LiveWeatherInterface.php
View source
<?php

/**
 * @file
 * Contains \Drupal\live_weather\LiveWeatherInterface.
 */
namespace Drupal\live_weather;


/**
 * Live WeatherInterface.
 */
interface LiveWeatherInterface {

  /**
   * Get location data.
   */
  public function locationCheck($woeid = NULL, $filter = '', $unit = 'f');

  /**
   * Check Day or Night.
   */
  public static function checkDayNight($date, $sunrise, $sunset);

  /**
   * Get Wind Direction.
   */
  public static function windDirection($direction);

  /**
   * buildBaseString.
   */
  public static function buildBaseString($baseURI, $method, $params);

  /**
   * buildAuthorizationHeader.
   */
  public static function buildAuthorizationHeader($oauth);

}

Interfaces

Namesort descending Description
LiveWeatherInterface Live WeatherInterface.