PHP 8.2.31
Preview: Translator.php Size: 939 B
//opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/illuminate/contracts/Translation/Translator.php

<?php

namespace RectorPrefix202411\Illuminate\Contracts\Translation;

interface Translator
{
    /**
     * Get the translation for a given key.
     *
     * @param  string  $key
     * @param  array  $replace
     * @param  string|null  $locale
     * @return mixed
     */
    public function get($key, array $replace = [], $locale = null);
    /**
     * Get a translation according to an integer value.
     *
     * @param  string  $key
     * @param  \Countable|int|float|array  $number
     * @param  array  $replace
     * @param  string|null  $locale
     * @return string
     */
    public function choice($key, $number, array $replace = [], $locale = null);
    /**
     * Get the default locale being used.
     *
     * @return string
     */
    public function getLocale();
    /**
     * Set the default locale.
     *
     * @param  string  $locale
     * @return void
     */
    public function setLocale($locale);
}

Directory Contents

Dirs: 0 × Files: 3

Name Size Perms Modified Actions
241 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
832 B lrwxr-xr-x 2024-11-08 13:59:10
Edit Download
939 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).