Set couchbase timeout

How can I set timeout in php sdk? I found function setTimeout() in php sdk 1.0 document, but when I used php sdk 2. then it not work( undefined function). Pls give me an advice.
Thank for helping :slight_smile: