29 "Descriptive List items",
32 return is_string($k) && (is_string($v) || $v instanceof
C\Component);
35 return "expected keys of type string and values of type string|Component, got ($k => $v)";
48 "Descriptive List items",
51 return is_string($k) && (is_string($v) || $v instanceof
C\Component);
54 return "expected keys of type string and values of type string|Component, got ($k => $v)";
trait ComponentHelper
Provides common functionality for component implementations.
A component is the most general form of an entity in the UI.
checkArgList($which, array &$values, \Closure $check, \Closure $message)
Check every key and value of the list with a supplied closure.
Create styles array
The data for the language used.
__construct(array $items)