Skip to content

Commit

Permalink
Update docs/configuration.md
Browse files Browse the repository at this point in the history
register type mapping
  • Loading branch information
volkan committed Oct 23, 2012
1 parent f41790d commit 37fad78
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,19 @@ return array(
},
),
),
```

### How to register type mapping

```php
'doctrine' => array(
'connection' => array(
'orm_default' => array(
'doctrine_type_mappings' => array(
'enum' => 'string'
),
'driverClass' => 'Doctrine\DBAL\Driver\PDOMySql\Driver',
)
)
),
```

0 comments on commit 37fad78

Please sign in to comment.