@@ 73-75 (lines=3) @@ | ||
70 | } |
|
71 | ||
72 | // id is defined? |
|
73 | if (isset($to[1]) && !Str::likeEmpty($to[1])) { |
|
74 | $response .= '/' . self::safeUri($to[1], $encode); |
|
75 | } |
|
76 | ||
77 | // add param is defined? |
|
78 | if (isset($to[2]) && !Str::likeEmpty($to[2])) { |
|
@@ 78-80 (lines=3) @@ | ||
75 | } |
|
76 | ||
77 | // add param is defined? |
|
78 | if (isset($to[2]) && !Str::likeEmpty($to[2])) { |
|
79 | $response .= '/' . self::safeUri($to[2], $encode); |
|
80 | } |
|
81 | ||
82 | // try to find static alias |
|
83 | if (isset($routing['Alias'][env_name]) && Arr::in('/' . $response, $routing['Alias'][env_name])) { |