Vendor lock
This commit is contained in:
28
vendor/illuminate/contracts/Routing/UrlRoutable.php
vendored
Normal file
28
vendor/illuminate/contracts/Routing/UrlRoutable.php
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Contracts\Routing;
|
||||
|
||||
interface UrlRoutable
|
||||
{
|
||||
/**
|
||||
* Get the value of the model's route key.
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function getRouteKey();
|
||||
|
||||
/**
|
||||
* Get the route key for the model.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getRouteKeyName();
|
||||
|
||||
/**
|
||||
* Retrieve the model for a bound value.
|
||||
*
|
||||
* @param mixed $value
|
||||
* @return \Illuminate\Database\Eloquent\Model|null
|
||||
*/
|
||||
public function resolveRouteBinding($value);
|
||||
}
|
Reference in New Issue
Block a user