You are here

LiveWeatherInterface.php in Live Weather 8

Same filename and directory in other branches
  1. 8.2 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);

}

Interfaces

Namesort descending Description
LiveWeatherInterface Live WeatherInterface.