public static function mapGraphNodeFieldNamesToDatabaseColumnNames(Model $object, array $fields)
    {
        foreach ($fields as $field => $value) {
            if (static::graphNodeFieldIsWhiteListed(static::fieldToColumnName($field))) {
                $object->{static::fieldToColumnName($field)} = $value;
            }
        }
    }
public static function mapGraphNodeFieldNamesToDatabaseColumnNames(Model $object, array $fields)
    {
        foreach ($fields as $field => $value) {
            if (static::graphNodeFieldIsWhiteListed(static::fieldToColumnName($field))) {
                $object->{static::fieldToColumnName($field)} = $value;
            }
        }
    }
public static function mapGraphNodeFieldNamesToDatabaseColumnNames ( Model $ object , array $ fields ) { foreach ( $ fields as $ field => $ value ) { if ( static :: graphNodeFieldIsWhiteListed ( static :: fieldToColumnName ( $ field ) ) ) { $ object -> { static :: fieldToColumnName ( $ field ) } = $ value ; } } }
Map Graph-node field names to local database column name

@param Model $object
@param array $fields
Map Graph - node field names to local database column name