PhpOffice\PhpPresentation\Shape\RichText::getParagraphs PHP 메소드

getParagraphs() 공개 메소드

Get paragraphs
public getParagraphs ( ) : Paragraph[]
리턴 PhpOffice\PhpPresentation\Shape\RichText\Paragraph[]
    public function getParagraphs()
    {
        return $this->richTextParagraphs;
    }

Usage Example

예제 #1
0
 public function testParagraphs()
 {
     $object = new RichText();
     $array = array(new Paragraph(), new Paragraph(), new Paragraph());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setParagraphs($array));
     $this->assertCount(3, $object->getParagraphs());
     $this->assertEquals(2, $object->getActiveParagraphIndex());
 }
All Usage Examples Of PhpOffice\PhpPresentation\Shape\RichText::getParagraphs