Victor Vasiloi
Victor Vasiloi
Describe different techniques that can be used to customize resource services. Services: - controllers - factories - repositories - managers Techniques: - overwrite / replace - override / extend -...
Describe how to inject resource services using autowire: - factory - repository - entity manager
**Description** ``` bin/console doctrine:mapping:convert xml config/doctrine Symfony\Component\Debug\Exception\FatalThrowableError {#1527 -originalClassName: "Error" #message: "Call to a member function implementsInterface() on null" #code: 0 #file: "vendor/sylius/resource-bundle/src/Bundle/EventListener/AbstractDoctrineSubscriber.php" #line: 38 #severity: E_ERROR trace: { vendor/sylius/resource-bundle/src/Bundle/EventListener/AbstractDoctrineSubscriber.php:38...
Right know the documentation includes [reference](https://github.com/Sylius/SyliusResourceBundle/blob/master/docs/reference.md) for resource configuration and routing generation, but not for request configuration of individual routes. Some options are mentioned on the action specific pages, like...
| Q | A | --------------- | ----- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? |...
https://github.com/Sylius/Sylius/blob/26139f237e699436a2cb0999f0c3049dff350e38/src/Sylius/Bundle/ProductBundle/Form/Type/ProductVariantChoiceType.php#L40 This was introduced in https://github.com/Sylius/Sylius/pull/13268. Before that, it was using ProductVariant's `__toString`, which wasn't returning the variant's name but the product name and the options set. The new code...
| Q | A | --- | --- | Fixed tickets | | Related PRs | | License | MIT
Will allow using a custom fixture without having to run the commands in `sylius-rbac:install-plugin` separately, which means it no longer benefits from using the `root_administrator_email` and `sylius_rbac.configuration` parameters. I can...
Example implementation: ```
The `Sylius\Bundle\LocaleBundle\Context\RequestBasedLocaleContext` gets the locale from the `_locale` request attribute, which is set after the route is matched, since it's a path parameter, therefore it's no available during the route...