Skip to content

Get style as array #1451

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Erwane opened this issue Apr 24, 2020 · 1 comment
Closed

Get style as array #1451

Erwane opened this issue Apr 24, 2020 · 1 comment

Comments

@Erwane
Copy link

Erwane commented Apr 24, 2020

This is:

- [ ] a bug report
- [x] a feature request
- [ ] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpspreadsheet or https://gitter.im/PHPOffice/PhpSpreadsheet)

Same as #580, with an use case.
Get Style as array, for unit testing.

Tests can be very simple with a PhpOffice\PhpSpreadsheet\Style::toArray() method

Maybe a method getAsArray(string $styleType) where styleType can be borders fill ...

Thanks

@PowerKiKi
Copy link
Member

Duplicates #580

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants