DataSift_ODP::getSourceId PHP Method

getSourceId() public method

Gets the Managed Source ID
public getSourceId ( ) : string
return string The Source ID to be used
    public function getSourceId()
    {
        return $this->_source_id;
    }

Usage Example

Example #1
0
 public function testSourceLength()
 {
     $odp = new DataSift_ODP($this->user, '1f1be6565a1d4ef38f9f4aeec9554440');
     $this->assertEquals($odp->getSourceId(), '1f1be6565a1d4ef38f9f4aeec9554440', 'Hash does not meet the required length');
 }