firefly-iii/app/Helpers/Help/HelpInterface.php
2016-02-05 12:08:25 +01:00

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);
}