mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-30 12:43:57 -06:00
49 lines
720 B
PHP
49 lines
720 B
PHP
<?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);
|
|
|
|
/**
|
|
* @param $route
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function hasRoute($route);
|
|
|
|
/**
|
|
* @param $route
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function inCache($route);
|
|
|
|
/**
|
|
* @param $route
|
|
* @param array $content
|
|
*
|
|
* @return void
|
|
*/
|
|
public function putInCache($route, array $content);
|
|
}
|