A super easy PHP Framework for web development!
https://github.com/exacti/phacil-framework
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
739 B
41 lines
739 B
11 months ago
|
<?php
|
||
|
/*
|
||
|
* Copyright © 2024 ExacTI Technology Solutions. All rights reserved.
|
||
|
* GPLv3 General License.
|
||
|
* https://exacti.com.br
|
||
|
* Phacil PHP Framework - https://github.com/exacti/phacil-framework
|
||
|
*/
|
||
|
|
||
|
namespace Phacil\Framework\Interfaces;
|
||
|
|
||
|
|
||
|
interface Url
|
||
|
{
|
||
|
/**
|
||
|
* @param string $url
|
||
|
* @param string $ssl
|
||
|
* @return void
|
||
|
*/
|
||
|
public function __construct($url, $ssl);
|
||
|
|
||
|
/**
|
||
|
* @param string $route
|
||
|
* @param string $args
|
||
|
* @param string $connection
|
||
|
* @return string
|
||
|
*/
|
||
|
public function link($route, $args = '', $connection = 'NONSSL');
|
||
|
|
||
|
/**
|
||
|
* @param string $hook
|
||
|
* @return void
|
||
|
*/
|
||
|
public function addRewrite($hook);
|
||
|
|
||
|
/**
|
||
|
* @param string $url
|
||
|
* @return string
|
||
|
*/
|
||
|
public function rewrite($url);
|
||
|
}
|