phpOMS/Router/RouterInterface.php

38 lines
667 B
PHP

<?php
/**
* Orange Management
*
* PHP Version 7.4
*
* @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;
}