public static function construct($start_attribute_identifier, $maximum_attribute_identifiers) { $frame = new DiscoverAttributesCommand(); $frame->setStartAttributeIdentifier($start_attribute_identifier); $frame->setMaximumAttributeIdentifiers($maximum_attribute_identifiers); return $frame; }