2a06261f75
This adds a composer.json for all dependencies that are available
29 lines
528 B
PHP
29 lines
528 B
PHP
<?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);
|
|
}
|