Skip to content
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

Is it possible to add a set method for two private properties? #1838

Open
Hoylo opened this issue Mar 12, 2020 · 1 comment
Open

Is it possible to add a set method for two private properties? #1838

Hoylo opened this issue Mar 12, 2020 · 1 comment

Comments

@Hoylo
Copy link

Hoylo commented Mar 12, 2020

/**
* Elements collection
*
* @var \PhpOffice\PhpWord\Element\AbstractElement[]
*/
protected $elements = array();

/**
* Collection of sections
*
* @var \PhpOffice\PhpWord\Element\Section[]
*/
private $sections = array();

@liborm85
Copy link
Contributor

liborm85 commented Jan 2, 2021

addElement, addText, etc. methods are available.
addSection method is available.

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

No branches or pull requests

2 participants