type() public method

Get the type.
public type ( ) : string
return string
 public function testGetsType()
 {
     $bytes = new Bytes($this->value);
     $this->assertEquals('BYTES', $bytes->type());
 }