public setFill ( PhpOffice\PhpPresentation\Style\Fill $fill = null ) : |
||
$fill | PhpOffice\PhpPresentation\Style\Fill | |
return |
public function setFill(Fill $fill = null)
{
$this->fill = $fill;
return $this;
}
public function testFill() { $object = new Series(); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Series', $object->setFill()); $this->assertNull($object->getFill()); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Series', $object->setFill(new Fill())); $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Style\\Fill', $object->getFill()); }