2015-04-07 12:58:49 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace FireflyIII\Helpers\Help;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Interface HelpInterface
|
|
|
|
*
|
|
|
|
* @package FireflyIII\Helpers\Help
|
|
|
|
*/
|
|
|
|
interface HelpInterface
|
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param $key
|
|
|
|
*
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
public function getFromCache($key);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param $route
|
|
|
|
*
|
|
|
|
* @return array
|
|
|
|
*/
|
|
|
|
public function getFromGithub($route);
|
|
|
|
|
|
|
|
/**
|
2015-05-03 05:58:55 -05:00
|
|
|
* @param $route
|
2015-04-07 12:58:49 -05:00
|
|
|
*
|
2015-05-03 05:58:55 -05:00
|
|
|
* @return bool
|
2015-04-07 12:58:49 -05:00
|
|
|
*/
|
2015-05-03 05:58:55 -05:00
|
|
|
public function hasRoute($route);
|
2015-04-07 12:58:49 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @param $route
|
|
|
|
*
|
|
|
|
* @return bool
|
|
|
|
*/
|
|
|
|
public function inCache($route);
|
2015-05-03 05:58:55 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @param $route
|
|
|
|
* @param array $content
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function putInCache($route, array $content);
|
2015-05-05 05:51:57 -05:00
|
|
|
}
|