Mapping your object from an array

Simple usage

In its simplest form, this method takes an array of key=>values and map them to the object properties.

Available options

The fromArray method accept an optional second parameter in the form of an array to alter its behavior. The following properties are available:

Open Source Object Relational Mapping in PHP

Download Porte 0.2.1