public function formatObject($oObj)
    {
        return [
            'id'         => $oObj->id,
            'first_name' => $oObj->first_name,
            'last_name'  => $oObj->last_name,
            'email'      => $oObj->email,
        ];
    }
public function formatObject($oObj)
    {
        return [
            'id'         => $oObj->id,
            'first_name' => $oObj->first_name,
            'last_name'  => $oObj->last_name,
            'email'      => $oObj->email,
        ];
    }
public function formatObject ( $ oObj ) { return [ 'id' => $ oObj -> id , 'first_name' => $ oObj -> first_name , 'last_name' => $ oObj -> last_name , 'email' => $ oObj -> email , ] ; }
Format the output

@param \stdClass $oObj The object to format

@return array
Format the output