for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/**
* The Imaging Source Download System PHP Wrapper
*
* PHP wrapper for The Imaging Source Download System Web API. Authored and supported by The Imaging Source Europe GmbH.
* @link http://dl-gui.theimagingsource.com to learn more about The Imaging Source Download System
* @link https://github.com/jonathanmaron/theimagingsource-tisd-sdk for the canonical source repository
* @license https://github.com/jonathanmaron/theimagingsource-tisd-sdk/blob/master/LICENSE.md
* @copyright © 2022 The Imaging Source Europe GmbH
*/
namespace Tisd\Sdk;
* Trait LocalesTrait
* @package Tisd\Sdk
trait LocalesTrait
{
* Get the array of consolidated data
* @return array
abstract protected function getConsolidated(): array;
* Get the array of locales
public function getLocales(): array
$consolidated = $this->getConsolidated();
return $consolidated['locales'] ?? [];
}