Total Complexity | 4 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 2 | Features | 1 |
1 | <?php |
||
7 | trait InteractsWithRedirectionForm |
||
8 | { |
||
9 | /** |
||
10 | * Set view path of redirection form. |
||
11 | * |
||
12 | * @param string $path |
||
13 | * |
||
14 | * @return void |
||
15 | */ |
||
16 | public static function setRedirectionFormViewPath(string $path) |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * Retrieve default view path of redirection form. |
||
23 | * |
||
24 | * @return string |
||
25 | */ |
||
26 | public static function getRedirectionFormDefaultViewPath() : string |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * Retrieve current view path of redirection form. |
||
33 | * |
||
34 | * @return string |
||
35 | */ |
||
36 | public static function getRedirectionFormViewPath() : string |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * Set view renderer |
||
43 | * |
||
44 | * @param callable $renderer |
||
45 | */ |
||
46 | public static function setRedirectionFormViewRenderer(callable $renderer) |
||
51 |