protected function extractFieldValues(
        ArrayAccess $item,
        WriterFieldInterface ...$fields
    ): array {
        return array_map(
            function (WriterFieldInterface $field) use ($item) : string {
                return $field->getValue($item);
            },
            $fields
        );
    }
protected function extractFieldValues(
        ArrayAccess $item,
        WriterFieldInterface ...$fields
    ): array {
        return array_map(
            function (WriterFieldInterface $field) use ($item) : string {
                return $field->getValue($item);
            },
            $fields
        );
    }
protected function extractFieldValues ( ArrayAccess $ item , WriterFieldInterface ... $ fields ) : array { return array_map ( function ( WriterFieldInterface $ field ) use ( $ item ) : string { return $ field -> getValue ( $ item ) ; } , $ fields ) ; }
Extract item values from fields.

@param ArrayAccess            $item
@param WriterFieldInterface[] ...$fields

@return string[]
Extract item values from fields .