mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-11-03 20:55:05 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			61 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			61 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
/**
 | 
						|
 * HelpInterface.php
 | 
						|
 * Copyright (C) 2016 thegrumpydictator@gmail.com
 | 
						|
 *
 | 
						|
 * This software may be modified and distributed under the terms of the
 | 
						|
 * Creative Commons Attribution-ShareAlike 4.0 International License.
 | 
						|
 *
 | 
						|
 * See the LICENSE file for details.
 | 
						|
 */
 | 
						|
 | 
						|
declare(strict_types = 1);
 | 
						|
namespace FireflyIII\Helpers\Help;
 | 
						|
 | 
						|
/**
 | 
						|
 * Interface HelpInterface
 | 
						|
 *
 | 
						|
 * @package FireflyIII\Helpers\Help
 | 
						|
 */
 | 
						|
interface HelpInterface
 | 
						|
{
 | 
						|
 | 
						|
    /**
 | 
						|
     * @param string $route
 | 
						|
     * @param string $language
 | 
						|
     *
 | 
						|
     * @return string
 | 
						|
     */
 | 
						|
    public function getFromCache(string $route, string $language): string;
 | 
						|
 | 
						|
    /**
 | 
						|
     * @param string $language
 | 
						|
     * @param string $route
 | 
						|
     *
 | 
						|
     * @return string
 | 
						|
     */
 | 
						|
    public function getFromGithub(string $language, string $route):string;
 | 
						|
 | 
						|
    /**
 | 
						|
     * @param string $route
 | 
						|
     *
 | 
						|
     * @return bool
 | 
						|
     */
 | 
						|
    public function hasRoute(string $route): bool;
 | 
						|
 | 
						|
    /**
 | 
						|
     * @param string $route
 | 
						|
     * @param string $language
 | 
						|
     *
 | 
						|
     * @return bool
 | 
						|
     */
 | 
						|
    public function inCache(string $route, string $language): bool;
 | 
						|
 | 
						|
    /**
 | 
						|
     * @param string $route
 | 
						|
     * @param string $language
 | 
						|
     * @param string $content
 | 
						|
     */
 | 
						|
    public function putInCache(string $route, string $language, string $content);
 | 
						|
}
 |