for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Arcanedev\LaravelLang\Contracts\Entities;
/**
* Interface Locale
*
* @author ARCANEDEV <[email protected]>
*/
interface Locale
{
/* -----------------------------------------------------------------
| Getters & Setters
| -----------------------------------------------------------------
* Get the locale key.
* @return string
public function getKey(): string;
* Get the locale translations path.
public function getPath(): string;
* Get locale translations.
* @return array
public function getTranslations(): array;
}