Many persistence mechanisms store data in a relational way rather than an object-oriented way.
许多持久性机制以关系的方法而不是面向对象方法存储数据。
(If you leave out the second parameter for the decode method, it returns an array rather than an object).
如果忽略decode方法的第二个参数,则返回一个数组而不是一个对象。
In some cases, you may find that it's more useful to access properties and methods via a class rather than an object instance.
有时候,可能发现通过类而不是对象实例来访问属性和方法更有用。
应用推荐