More tests.

This commit is contained in:
James Cole
2015-04-07 19:58:49 +02:00
parent 05670cf393
commit ff5ecf6182
6 changed files with 237 additions and 46 deletions

View File

@@ -0,0 +1,46 @@
<?php
namespace FireflyIII\Helpers\Help;
/**
* Interface HelpInterface
*
* @package FireflyIII\Helpers\Help
*/
interface HelpInterface
{
/**
* @param $key
*
* @return string
*/
public function getFromCache($key);
/**
* @return boolean
*/
public function hasRoute($route);
/**
* @param $route
*
* @return array
*/
public function getFromGithub($route);
/**
* @param $route
* @param array $content
*
* @return void
*/
public function putInCache($route, array $content);
/**
* @param $route
*
* @return bool
*/
public function inCache($route);
}