mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Remove the vendor directory in .gitignore as these dependencies are needed for php-imap
This commit is contained in:
113
plugins/php-imap/vendor/illuminate/contracts/Routing/UrlGenerator.php
vendored
Normal file
113
plugins/php-imap/vendor/illuminate/contracts/Routing/UrlGenerator.php
vendored
Normal file
@@ -0,0 +1,113 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Contracts\Routing;
|
||||
|
||||
/**
|
||||
* @method string query(string $path, array $query = [], mixed $extra = [], bool|null $secure = null)
|
||||
*/
|
||||
interface UrlGenerator
|
||||
{
|
||||
/**
|
||||
* Get the current URL for the request.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function current();
|
||||
|
||||
/**
|
||||
* Get the URL for the previous request.
|
||||
*
|
||||
* @param mixed $fallback
|
||||
* @return string
|
||||
*/
|
||||
public function previous($fallback = false);
|
||||
|
||||
/**
|
||||
* Generate an absolute URL to the given path.
|
||||
*
|
||||
* @param string $path
|
||||
* @param mixed $extra
|
||||
* @param bool|null $secure
|
||||
* @return string
|
||||
*/
|
||||
public function to($path, $extra = [], $secure = null);
|
||||
|
||||
/**
|
||||
* Generate a secure, absolute URL to the given path.
|
||||
*
|
||||
* @param string $path
|
||||
* @param array $parameters
|
||||
* @return string
|
||||
*/
|
||||
public function secure($path, $parameters = []);
|
||||
|
||||
/**
|
||||
* Generate the URL to an application asset.
|
||||
*
|
||||
* @param string $path
|
||||
* @param bool|null $secure
|
||||
* @return string
|
||||
*/
|
||||
public function asset($path, $secure = null);
|
||||
|
||||
/**
|
||||
* Get the URL to a named route.
|
||||
*
|
||||
* @param string $name
|
||||
* @param mixed $parameters
|
||||
* @param bool $absolute
|
||||
* @return string
|
||||
*
|
||||
* @throws \InvalidArgumentException
|
||||
*/
|
||||
public function route($name, $parameters = [], $absolute = true);
|
||||
|
||||
/**
|
||||
* Create a signed route URL for a named route.
|
||||
*
|
||||
* @param string $name
|
||||
* @param mixed $parameters
|
||||
* @param \DateTimeInterface|\DateInterval|int|null $expiration
|
||||
* @param bool $absolute
|
||||
* @return string
|
||||
*
|
||||
* @throws \InvalidArgumentException
|
||||
*/
|
||||
public function signedRoute($name, $parameters = [], $expiration = null, $absolute = true);
|
||||
|
||||
/**
|
||||
* Create a temporary signed route URL for a named route.
|
||||
*
|
||||
* @param string $name
|
||||
* @param \DateTimeInterface|\DateInterval|int $expiration
|
||||
* @param array $parameters
|
||||
* @param bool $absolute
|
||||
* @return string
|
||||
*/
|
||||
public function temporarySignedRoute($name, $expiration, $parameters = [], $absolute = true);
|
||||
|
||||
/**
|
||||
* Get the URL to a controller action.
|
||||
*
|
||||
* @param string|array $action
|
||||
* @param mixed $parameters
|
||||
* @param bool $absolute
|
||||
* @return string
|
||||
*/
|
||||
public function action($action, $parameters = [], $absolute = true);
|
||||
|
||||
/**
|
||||
* Get the root controller namespace.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getRootControllerNamespace();
|
||||
|
||||
/**
|
||||
* Set the root controller namespace.
|
||||
*
|
||||
* @param string $rootNamespace
|
||||
* @return $this
|
||||
*/
|
||||
public function setRootControllerNamespace($rootNamespace);
|
||||
}
|
||||
Reference in New Issue
Block a user