DataSift_Pylon::__construct PHP Method

__construct() public method

Construct the Datasift_Pylon object
public __construct ( Datasift_User $user, array $data = false ) : DataSift_Pylon
$user Datasift_User The Datasift user object
$data array Data used to populate the attributes of this object
return DataSift_Pylon
    public function __construct($user, $data = false)
    {
        $this->_user = $user;
        if ($data) {
            $this->load($data);
        }
    }