-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Readme: how to add own type [closes #6]
- Loading branch information
Milan Felix Šulc
authored
Apr 4, 2018
1 parent
c4a9986
commit 5c82fc6
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
f3l1x
Member
|
||
``` | ||
## Bridges | ||
### Symfony\Console | ||
|
@f3l1x what does the
commented
mean and what is its impact?