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