Comments (3)
As private methods are not part of the public API I'd never want to rely on a function that others don't expect will be used elsewhere. I suggest you to copy that method and add comments where the original source comes from and how to proceed on an update.
from docs.
Hey @Nico-Schaefer-2111,
thank you for your issue and the underlying concerns.
Yet, private methods are not supposed to be used in any way and doing this with Reflection classes will work, but is rather considered 'hacky' and also slow in terms of performance.
If you really need to use a private method, you can either do what @JoshuaBehrens said or, if you think that it should have been public or protected in the first place, you can still create a pull request to change this in our code.
Will this do the trick for you? :-)
from docs.
Thanks for the quick responses.
Mhh i will think about a pull request, but in first place I will implement it like @JoshuaBehrens recommended.
from docs.
Related Issues (20)
- CSRF was removed in 6.5 but still in docs. HOT 2
- Inherit iconSets HOT 4
- Was plugin description removed from composer.json? HOT 4
- Entity Extensions: add association between existing entities HOT 1
- Add to EntityExtension page: HOT 6
- Run lychee to find dead links HOT 5
- Guide "Add custom flow Action" not working for Shopware 6.5.0.0+ HOT 3
- Documentation for adding a custom Storefront controller (the service definition) seems worng HOT 2
- seo route option - mentioned and used in core but what does it actually do? still used? HOT 3
- some documentation pages seem to still mention old annotations like @LoginRequired (not in migration conext) HOT 6
- documentation sometimes uses attributes, sometimes annotations - should probably only use attributes now HOT 3
- twig custom function documentation - naming convention HOT 5
- Where can one finde JS-plugins from plugins installed via composer? HOT 2
- Documentation lists "shopSecret" in Confirmation request which is probably not the case HOT 2
- Store API - No way to retrieve current active billing address? - Probably just missing in docs HOT 5
- Add Data to Storefront Page - Tutorial Issue HOT 3
- Add Admin Search variables in "Set up Elasticsearch"-article HOT 1
- Just the file extension in config/packages HOT 4
- Flow-Builder Action is not documented correctly HOT 4
- Non-existent class referenced for Unit testing HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.