/** * Checks if macro is registered. * * @param string $name * * @return bool * @static */ public static function hasMacro($name) { return \Illuminate\Translation\Translator::hasMacro($name); }