Skip to content

Commit

Permalink
Do not force to use annotations for Sylius project
Browse files Browse the repository at this point in the history
  • Loading branch information
Zales0123 committed Mar 19, 2019
1 parent 39e3246 commit c1dd292
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 3 deletions.
90 changes: 87 additions & 3 deletions config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,91 @@ doctrine:
mappings:
App:
is_bundle: false
type: annotation
dir: '%kernel.project_dir%/src/Entity'
prefix: 'App\Entity'
type: yml
dir: '%kernel.project_dir%/src/Resources/config/doctrine'
prefix: 'App\Entity\Main'
alias: App
SyliusAddressing:
is_bundle: false
type: annotation
dir: '%kernel.project_dir%/src/Entity/Addressing'
prefix: 'App\Entity\Addressing'
alias: SyliusAddressing
SyliusAdminApi:
is_bundle: false
type: annotation
dir: '%kernel.project_dir%/src/Entity/AdminApi'
prefix: 'App\Entity\AdminApi'
alias: SyliusAdminApi
SyliusChannel:
is_bundle: false
type: annotation
dir: '%kernel.project_dir%/src/Entity/Channel'
prefix: 'App\Entity\Channel'
alias: SyliusChannel
SyliusCurrency:
is_bundle: false
type: annotation
dir: '%kernel.project_dir%/src/Entity/Currency'
prefix: 'App\Entity\Currency'
alias: SyliusCurrency
SyliusCustomer:
is_bundle: false
type: annotation
dir: '%kernel.project_dir%/src/Entity/Customer'
prefix: 'App\Entity\Customer'
alias: SyliusCustomer
SyliusLocale:
is_bundle: false
type: annotation
dir: '%kernel.project_dir%/src/Entity/Locale'
prefix: 'App\Entity\Locale'
alias: SyliusLocale
SyliusOrder:
is_bundle: false
type: annotation
dir: '%kernel.project_dir%/src/Entity/Order'
prefix: 'App\Entity\Order'
alias: SyliusOrder
SyliusPayment:
is_bundle: false
type: annotation
dir: '%kernel.project_dir%/src/Entity/Payment'
prefix: 'App\Entity\Payment'
alias: SyliusPayment
SyliusProduct:
is_bundle: false
type: annotation
dir: '%kernel.project_dir%/src/Entity/Product'
prefix: 'App\Entity\Product'
alias: SyliusProduct
SyliusPromotion:
is_bundle: false
type: annotation
dir: '%kernel.project_dir%/src/Entity/Promotion'
prefix: 'App\Entity\Promotion'
alias: SyliusPromotion
SyliusShipping:
is_bundle: false
type: annotation
dir: '%kernel.project_dir%/src/Entity/Shipping'
prefix: 'App\Entity\Shipping'
alias: SyliusShipping
SyliusTaxation:
is_bundle: false
type: annotation
dir: '%kernel.project_dir%/src/Entity/Taxation'
prefix: 'App\Entity\Taxation'
alias: SyliusTaxation
SyliusTaxonomy:
is_bundle: false
type: annotation
dir: '%kernel.project_dir%/src/Entity/Taxonomy'
prefix: 'App\Entity\Taxonomy'
alias: SyliusTaxonomy
SyliusUser:
is_bundle: false
type: annotation
dir: '%kernel.project_dir%/src/Entity/User'
prefix: 'App\Entity\User'
alias: SyliusUser
Empty file added src/Entity/Main/.gitignore
Empty file.
Empty file.

0 comments on commit c1dd292

Please sign in to comment.