src/Support/ModuleConcerns.php
public function trans($key, array $parameters = [], $locale = null)
    {
        return trans($this->module()->getName() . '::' . $key, $parameters, $locale);
    }
public function trans($key, array $parameters = [], $locale = null)
    {
        return trans($this->module()->getName() . '::' . $key, $parameters, $locale);
    }
@param string $key
@param array  $parameters
@param null   $locale

@return array|null|string