mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-08 07:03:23 -06:00
49 lines
811 B
PHP
49 lines
811 B
PHP
<?php
|
|
declare(strict_types = 1);
|
|
namespace FireflyIII\Helpers\Help;
|
|
|
|
/**
|
|
* Interface HelpInterface
|
|
*
|
|
* @package FireflyIII\Helpers\Help
|
|
*/
|
|
interface HelpInterface
|
|
{
|
|
|
|
/**
|
|
* @param string $key
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getFromCache(string $key);
|
|
|
|
/**
|
|
* @param string $route
|
|
*
|
|
* @return array
|
|
*/
|
|
public function getFromGithub(string $route);
|
|
|
|
/**
|
|
* @param string $route
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function hasRoute(string $route);
|
|
|
|
/**
|
|
* @param string $route
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function inCache(string $route);
|
|
|
|
/**
|
|
* @param string $route
|
|
* @param array $content
|
|
*
|
|
* @return void
|
|
*/
|
|
public function putInCache(string $route, array $content);
|
|
}
|