Skip to content

Commit

Permalink
add get sub elements
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekMarcinyshyn committed Jul 3, 2015
1 parent 4ab3a32 commit d01c6ae
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/PhpWord/Element/TextRun.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,14 @@ public function getParagraphStyle()
{
return $this->paragraphStyle;
}

/**
* Get Sub Elements from TextRun
*
* @return array
*/
public function getSubElements()
{
return $this->elements;
}
}

0 comments on commit d01c6ae

Please sign in to comment.