public setVerticalOverflow ( $value = self::OVERFLOW_OVERFLOW ) : |
||
$value | string | |
return |
public function setVerticalOverflow($value = self::OVERFLOW_OVERFLOW)
{
$this->verticalOverflow = $value;
return $this;
}
public function testGetSetVOverflow() { $object = new RichText(); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setVerticalOverflow()); $this->assertEquals(RichText::OVERFLOW_OVERFLOW, $object->getVerticalOverflow()); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\RichText', $object->setVerticalOverflow(RichText::OVERFLOW_CLIP)); $this->assertEquals(RichText::OVERFLOW_CLIP, $object->getVerticalOverflow()); }