-
-
Notifications
You must be signed in to change notification settings - Fork 5.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
[Object Mapper] Add component #20347
base: 7.2
Are you sure you want to change the base?
Conversation
Co-authored-by: Tomas Norkūnas <[email protected]> Co-authored-by: Oskar Stark <[email protected]>
/** | ||
* @implements CallableInterface<Source> | ||
*/ |
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.
Is this necessary in a documentation example ?
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.
I think that its best to have a copy/paste that doesn't trigger phpstan errors
object-mapper.rst
Outdated
// src/Dto/Source.php | ||
namespace App\Dto; | ||
|
||
use App\ObjectMapper\TransformNameCallable; |
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.
This use
statement doesn't seem used in this example
object-mapper.rst
Outdated
Using the ObjectMapper Service | ||
------------------------------ | ||
|
||
Once enabled, the object mapper service can be injected in any service where |
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.
Once installed ?
because writing enabled can mean that it is not enabled:usable by default after installation
Documents the object mapper component from