Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Illuminate\Contracts\Routing;
4
 
5
interface UrlRoutable
6
{
7
    /**
8
     * Get the value of the model's route key.
9
     *
10
     * @return mixed
11
     */
12
    public function getRouteKey();
13
 
14
    /**
15
     * Get the route key for the model.
16
     *
17
     * @return string
18
     */
19
    public function getRouteKeyName();
20
 
21
    /**
22
     * Retrieve the model for a bound value.
23
     *
24
     * @param  mixed  $value
25
     * @param  string|null  $field
26
     * @return \Illuminate\Database\Eloquent\Model|null
27
     */
28
    public function resolveRouteBinding($value, $field = null);
29
 
30
    /**
31
     * Retrieve the child model for a bound value.
32
     *
33
     * @param  string  $childType
34
     * @param  mixed  $value
35
     * @param  string|null  $field
36
     * @return \Illuminate\Database\Eloquent\Model|null
37
     */
38
    public function resolveChildRouteBinding($childType, $value, $field);
39
}