File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed
src/TwigComponent/src/Attribute Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 1616 * in a component template (`someProp` vs `this.someProp`). These
1717 * properties must be "accessible" (have a getter).
1818 *
19+ * @see https://symfony.com/bundles/ux-twig-component#exposeintemplate-attribute
20+ *
1921 * @author Kevin Bond <kevinbond@gmail.com>
2022 */
2123#[\Attribute(\Attribute::TARGET_PROPERTY | \Attribute::TARGET_METHOD )]
Original file line number Diff line number Diff line change 1212namespace Symfony \UX \TwigComponent \Attribute ;
1313
1414/**
15+ * An attribute to register a PostMount hook.
16+ *
17+ * @see https://symfony.com/bundles/ux-twig-component#postmount-hook
18+ *
1519 * @author Kevin Bond <kevinbond@gmail.com>
1620 */
1721#[\Attribute(\Attribute::TARGET_METHOD )]
Original file line number Diff line number Diff line change 1212namespace Symfony \UX \TwigComponent \Attribute ;
1313
1414/**
15+ * An attribute to register a PreMount hook.
16+ *
17+ * @see https://symfony.com/bundles/ux-twig-component#premount-hook
18+ *
1519 * @author Kevin Bond <kevinbond@gmail.com>
1620 */
1721#[\Attribute(\Attribute::TARGET_METHOD )]
You can’t perform that action at this time.
0 commit comments