open-orchestra/open-orchestra-model-interface

View on GitHub
ModelInterface/Manager/MultiLanguagesChoiceManagerInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace OpenOrchestra\ModelInterface\Manager;

/**
 * Class MultiLanguagesChoiceManager
 */
interface MultiLanguagesChoiceManagerInterface
{
    /**
     * @param array       $elements
     * @param string|null $language
     *
     * @return string
     */
    public function choose(array $elements, $language = null);
}