function __construct($name, $label) { Assert::isTrue(preg_match(self::NAME_PATTERN, $name), 'name of a set should contain alphanumeric symbols, glyphs and underscored only'); parent::__construct($name, $label); }