Constructs a new Turba_Object object.
public __construct ( Turba_Driver $driver, array $attributes = [], array $options = [] ) | ||
$driver | Turba_Driver | The source that this object came from. |
$attributes | array | Hash of attributes for this object. |
$options | array | Hash of options for this object. @since Turba 4.2 |
/** * Constructs a new Turba_Object_Group. * * @param Turba_Driver $driver The driver object that this group comes * from. * @param array $attributes Hash of attributes for this group. * @param array $options Hash of options for this object. @since * Turba 4.2 */ public function __construct(Turba_Driver $driver, array $attributes = array(), array $options = array()) { parent::__construct($driver, $attributes, $options); $this->attributes['__type'] = 'Group'; }