This check looks for calls to methods that do not seem to exist on a given type.
It looks for the method on the type itself as well as in inherited classes or
implemented interfaces.
This is most likely a typographical error or the method has been renamed.
Loading history...
17
}
18
}
19
20
if (!function_exists('other_locale')) {
21
22
/**
23
* Generate the URL for same route name but different locale
24
*
25
* @param string $locale
26
* @param array $parameters
27
* @param bool $absolute
28
* @return string
29
*/
30
function other_locale($locale, $parameters = null, $absolute = true)
This check looks for calls to methods that do not seem to exist on a given type.
It looks for the method on the type itself as well as in inherited classes or
implemented interfaces.
This is most likely a typographical error or the method has been renamed.
Loading history...
33
}
34
}
35
36
if (!function_exists('other_route')) {
37
/**
38
* Generate the URL for same route name but different locale
39
*
40
* @param string $name
41
* @param array $parameters
42
* @param bool $absolute
43
* @return string
44
*/
45
function other_route($name, $parameters = null, $absolute = true)
This check looks for calls to methods that do not seem to exist on a given type.
It looks for the method on the type itself as well as in inherited classes or
implemented interfaces.
This is most likely a typographical error or the method has been renamed.
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.