The list of the strings to localize */ private $list; /** * LocalizeScripts constructor. * * @param array $list the list of the strings to localize */ public function __construct(array $list) { $this->list = $list; } /** * Output Localized strings. * * @return $this For concatenation */ public function output(): self { ?>