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