20 lines
290 B
PHP
20 lines
290 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();
|
||
|
|
||
|
}
|