phpOMS/Router/RouterInterface.php
2020-12-03 23:07:33 +01:00

38 lines
667 B
PHP

<?php
/**
* Orange Management
*
* PHP Version 8.0
*
* @package phpOMS\DataStorage\Database\Schema
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
namespace phpOMS\Router;
/**
* Router interface.
*
* @package phpOMS\Router
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
interface RouterInterface
{
/**
* Add routes from file.
*
* @param string $path Route file path
*
* @return bool
*
* @since 1.0.0
*/
public function importFromFile(string $path) : bool;
}