We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello! :)
I'm using your plugin (0.8.1) on Sylius 1.6.
As you recommend, I'm using your order trait:
class Order extends BaseOrder implements SetonoSyliusGiftCardPluginOrderInterface { use SetonoSyliusGiftCardPluginOrderTrait { SetonoSyliusGiftCardPluginOrderTrait::__construct as private __giftCardTraitConstruct; } }
When I do this, my fixtures installation command tells me:
But when I do it this way:
class Order extends BaseOrder implements SetonoSyliusGiftCardPluginOrderInterface { use SetonoSyliusGiftCardPluginOrderTrait; public function __construct() { parent::__construct(); $this->giftCards = new ArrayCollection(); } }
It works correctly.
The text was updated successfully, but these errors were encountered:
Oh, we haven't updated the readme. See this file: https://github.com/Setono/SyliusGiftCardPlugin/blob/master/tests/Application/Model/Order.php. This is the correct way to do it :)
Sorry, something went wrong.
1db9e37
No branches or pull requests
Hello! :)
I'm using your plugin (0.8.1) on Sylius 1.6.
As you recommend, I'm using your order trait:
When I do this, my fixtures installation command tells me:
But when I do it this way:
It works correctly.
The text was updated successfully, but these errors were encountered: