PhpOffice\PhpPresentation\Shape\Drawing\Base64::getData PHP Method

getData() public method

public getData ( ) : mixed
return mixed
    public function getData()
    {
        return $this->data;
    }

Usage Example

示例#1
0
 public function testData()
 {
     $oDrawing = new Base64();
     $this->assertNull($oDrawing->getData());
     $oDrawing->setData($this->imageData);
     $this->assertNotEmpty($oDrawing->getData());
 }