-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CustomerBundle][Customer] Introduce Customer component and CustomerBundle #5547
Conversation
tuka217
commented
Jul 20, 2016
•
edited
Loading
edited
Q | A |
---|---|
Bug fix? | no |
New feature? | yes |
BC breaks? | yes |
Related tickets | - |
License | MIT |
CHANGELOG | ||
========= | ||
|
||
### v0.19.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're v1.0.0-alpha.1 now 😉
MIT License | ||
----------- | ||
|
||
License can be found [here](https://github.com/Sylius/User/blob/master/LICENSE). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
User
->Customer
bb204b3
to
ad56d93
Compare
@@ -13,6 +13,7 @@ | |||
|
|||
use Doctrine\Common\Collections\ArrayCollection; | |||
use Sylius\Component\Customer\Model\Customer as BaseCustomer; | |||
use Sylius\Component\User\Model\UserAwareInterface; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not used here.
e405e03
to
b9cd59b
Compare
@@ -20,7 +20,7 @@ letters. Example usage: | |||
// directory, relative to this file | |||
require_once __DIR__.'/../vendor/autoload.php'; | |||
|
|||
use Sylius\Component\User\Model\Customer; | |||
use Sylius\Component\Customer\Model\Customer; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no Customer
in User component anymore, so we should update the whole snippet and use only User
:)
[CoreBundle] Fix broken 'use'
…ion and CustomerRegistration type to Core with all related classes from CustomerBundle and UserBundle
…fix services.xml in UserBundle and CustomerBundle
[UserBundle] Move function which has connection between user and customer to core UserRepository
[Core] Add reference to customer component in composer [UserBundle] Remove CanonicalizerListener, CustomerAwareListener, remove core connnections [CustomerBundle] Add missing reference to doctrine/orm in composer, add CustomerAwareListener
[CoreBundle] Add PasswordUpdaterListener, UserRegistrationListener
[UserBundle] remove routing
… group and gender from UserBundle
8c8a083
to
2c44817
Compare
[CustomerBundle] remove CustomerAwareListener
Great job Ania! 👍 |
|
||
$container | ||
->getDefinition('sylius.listener.password_updater') | ||
->setClass('Sylius\Bundle\CoreBundle\EventListener\PasswordUpdaterListener'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not be hardcoded.