Gc\Datatype\Collection::init PHP Method

init() public method

Initialize datatype collection
public init ( ) : void
return void
    public function init()
    {
        $this->setDatatypes();
    }

Usage Example

Example #1
0
 /**
  * Test
  *
  * @return void
  */
 public function testInit()
 {
     $this->object->init();
     $this->assertInternalType('array', $this->object->getDatatypes());
 }