Google\Cloud\BigQuery\Bytes::type PHP Method

type() public method

Get the type.
public type ( ) : string
return string
    public function type()
    {
        return ValueMapper::TYPE_BYTES;
    }

Usage Example

 public function testGetsType()
 {
     $bytes = new Bytes($this->value);
     $this->assertEquals('BYTES', $bytes->type());
 }