Skip to content

Commit

Permalink
Readme: how to add own type [closes #6]
Browse files Browse the repository at this point in the history
  • Loading branch information
Milan Felix Šulc committed Apr 4, 2018
1 parent c4a9986 commit 5c82fc6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .docs/README.md
Expand Up @@ -60,6 +60,23 @@ dbal:
persistent: TRUE
types: []
```

### Types

Here is a example how to custom type. For more information, follow the official documention.

- http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/types.html
- http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/cookbook/custom-mapping-types.html

```
dbal:
connection:
types:
my_type:
class: App\YourType
commented: false/true

This comment has been minimized.

Copy link
@JanMikes

JanMikes Apr 4, 2018

@f3l1x what does the commented mean and what is its impact?

This comment has been minimized.

Copy link
@f3l1x

This comment has been minimized.

Copy link
@JanMikes

JanMikes Apr 4, 2018

Thank you for clarification! 👍

```

## Bridges

### Symfony\Console
Expand Down

0 comments on commit 5c82fc6

Please sign in to comment.