2016-09-05 18:05:19 +02:00
|
|
|
<?php
|
|
|
|
interface BridgeInterface {
|
2017-02-13 19:26:39 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Collects data from the site
|
|
|
|
*/
|
2016-09-10 20:41:11 +02:00
|
|
|
public function collectData();
|
2017-02-13 19:26:39 +01:00
|
|
|
|
2017-02-13 20:56:19 +01:00
|
|
|
/**
|
|
|
|
* Returns the description
|
|
|
|
*
|
|
|
|
* @return string Description
|
|
|
|
*/
|
|
|
|
public function getDescription();
|
|
|
|
|
2017-02-13 19:26:39 +01:00
|
|
|
/**
|
|
|
|
* Returns an array of collected items
|
|
|
|
*
|
|
|
|
* @return array Associative array of items
|
|
|
|
*/
|
|
|
|
public function getItems();
|
|
|
|
|
2017-02-13 20:56:19 +01:00
|
|
|
/**
|
|
|
|
* Returns the bridge maintainer
|
|
|
|
*
|
|
|
|
* @return string Bridge maintainer
|
|
|
|
*/
|
|
|
|
public function getMaintainer();
|
|
|
|
|
2017-02-13 19:26:39 +01:00
|
|
|
/**
|
|
|
|
* Returns the bridge name
|
|
|
|
*
|
|
|
|
* @return string Bridge name
|
|
|
|
*/
|
2016-09-10 20:41:11 +02:00
|
|
|
public function getName();
|
2017-02-13 19:26:39 +01:00
|
|
|
|
2018-08-21 17:46:47 +02:00
|
|
|
/**
|
|
|
|
* Returns the bridge icon
|
|
|
|
*
|
|
|
|
* @return string Bridge icon
|
|
|
|
*/
|
|
|
|
public function getIcon();
|
|
|
|
|
2017-02-13 20:56:19 +01:00
|
|
|
/**
|
|
|
|
* Returns the bridge parameters
|
|
|
|
*
|
|
|
|
* @return array Bridge parameters
|
|
|
|
*/
|
|
|
|
public function getParameters();
|
|
|
|
|
2017-02-13 19:26:39 +01:00
|
|
|
/**
|
|
|
|
* Returns the bridge URI
|
|
|
|
*
|
|
|
|
* @return string Bridge URI
|
|
|
|
*/
|
2016-09-10 20:41:11 +02:00
|
|
|
public function getURI();
|
2017-02-13 19:26:39 +01:00
|
|
|
|
2018-03-14 18:06:36 +01:00
|
|
|
/**
|
|
|
|
* Returns the cache timeout
|
|
|
|
*
|
|
|
|
* @return int Cache timeout
|
|
|
|
*/
|
|
|
|
public function getCacheTimeout();
|
2016-09-05 18:05:19 +02:00
|
|
|
}
|