Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 461 Bytes

object.md

File metadata and controls

24 lines (18 loc) · 461 Bytes

Object Operation

Creating an object of a class

object = phpy.Object("mysqli", arg1, arg2, arg3, ...)

Reading attributes

value = object.get("name")

Setting attributes

object.set("name", value)

Calling methods

return_value = object.call("name", arg1, arg2, arg3, ...)

Only object methods can be called using this syntax. For class static methods, please use the phpy.call() function.