/** * Register a custom macro. * * @param string $name * @param callable $macro * * @return void * @static */ public static function macro($name, $macro) { \Illuminate\Translation\Translator::macro($name, $macro); }