Google\Cloud\BigQuery\Bytes::get PHP Méthode

get() public méthode

Get the bytes as a stream.
public get ( ) : Psr\Http\Message\StreamInterface
Résultat Psr\Http\Message\StreamInterface
    public function get()
    {
        return $this->value;
    }

Usage Example

 /**
  * @dataProvider valueProvider
  */
 public function testGetWithMultipleIncomingValues($value)
 {
     $bytes = new Bytes($value);
     $this->assertEquals($this->value, (string) $bytes->get());
 }