Gc\Datatype\AbstractDatatype\AbstractPrevalueEditor::getDatatype PHP Method

getDatatype() public method

Get current datatype
public getDatatype ( ) : AbstractDatatype
return Gc\Datatype\AbstractDatatype
    public function getDatatype()
    {
        return $this->datatype;
    }

Usage Example

 /**
  * Test
  *
  * @return void
  */
 public function testGetDatatype()
 {
     $this->assertInstanceOf('Gc\\Datatype\\AbstractDatatype', $this->object->getDatatype());
 }