protected function extractFieldLabels(
        WriterFieldInterface ...$fields
    ): array {
        return array_map(
            function (WriterFieldInterface $field) : string {
                return $field->getLabel();
            },
            $fields
        );
    }
protected function extractFieldLabels(
        WriterFieldInterface ...$fields
    ): array {
        return array_map(
            function (WriterFieldInterface $field) : string {
                return $field->getLabel();
            },
            $fields
        );
    }
protected function extractFieldLabels ( WriterFieldInterface ... $ fields ) : array { return array_map ( function ( WriterFieldInterface $ field ) : string { return $ field -> getLabel ( ) ; } , $ fields ) ; }
Extract labels from fields.

@param WriterFieldInterface[] ...$fields

@return string[]
Extract labels from fields .