Added vendor/ directory for Composer's installed files
This commit is contained in:
63
vendor/illuminate/contracts/Routing/UrlGenerator.php
vendored
Executable file
63
vendor/illuminate/contracts/Routing/UrlGenerator.php
vendored
Executable file
@ -0,0 +1,63 @@
|
||||
<?php namespace Illuminate\Contracts\Routing;
|
||||
|
||||
interface UrlGenerator {
|
||||
|
||||
/**
|
||||
* Generate a absolute URL to the given path.
|
||||
*
|
||||
* @param string $path
|
||||
* @param mixed $extra
|
||||
* @param bool $secure
|
||||
* @return string
|
||||
*/
|
||||
public function to($path, $extra = array(), $secure = null);
|
||||
|
||||
/**
|
||||
* Generate a secure, absolute URL to the given path.
|
||||
*
|
||||
* @param string $path
|
||||
* @param array $parameters
|
||||
* @return string
|
||||
*/
|
||||
public function secure($path, $parameters = array());
|
||||
|
||||
/**
|
||||
* Generate a URL to an application asset.
|
||||
*
|
||||
* @param string $path
|
||||
* @param bool $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 = array(), $absolute = true);
|
||||
|
||||
/**
|
||||
* Get the URL to a controller action.
|
||||
*
|
||||
* @param string $action
|
||||
* @param mixed $parameters
|
||||
* @param bool $absolute
|
||||
* @return string
|
||||
*/
|
||||
public function action($action, $parameters = array(), $absolute = true);
|
||||
|
||||
/**
|
||||
* Set the root controller namespace.
|
||||
*
|
||||
* @param string $rootNamespace
|
||||
* @return $this
|
||||
*/
|
||||
public function setRootControllerNamespace($rootNamespace);
|
||||
|
||||
}
|
Reference in New Issue
Block a user